<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
there is simian. Quoted from the wiki:<br>
<br>
A good copy and paste detector is
[<a class="moz-txt-link-freetext" href="http://www.harukizaemon.com/simian/">http://www.harukizaemon.com/simian/</a> Simian].<br>
The use is free for non-commercial projects. To get a space
separated list of<br>
.cxx files in a directory, run:<br>
<br>
find <directory> -name "*.cxx" | grep -v unxlng | tr '\n' ' '
> files<br>
<br>
The Simian call to get code pieces with at least 30 equivalent lines
is for<br>
example:<br>
<br>
java -jar simian-2.3.33.jar -threshold=30 -language=c++ `cat files`<br>
<br>
Christina<br>
<br>
<br>
Am 28.05.2012 15:04, schrieb Philipp Riemer:
<blockquote
cite="mid:CAFU-uVu0KCsk20irxL4ghRx2KUQECtUeo64wZ6KqgxEGMr-95w@mail.gmail.com"
type="cite">
<pre wrap="">As promised, find the first few files for review attached to this mail.
Btw.: I realized a lot of duplicated code in the files I checked so
far in sw/source/core/undo. Having no experience in C++, I wanted to
ask if there exists a good copy-paste-detection tool to find those
"root of evil" code?
Philipp
Attachments:
0001-fix-german-adjust-left-margin-comment-in-multiple-files.patch
0002-translated-german-comments-in-sw-inc-docufld.hxx.patch
0003-translated-german-comments-in-sw-inc-swscanner.hxx.patch
0004-translated-german-comments-in-sw-source-core-undo-unnum.cxx.patch
0005-translated-german-comments-in-sw-source-core-undo-unattr.cxx.patch
0006-translated-german-comments-in-sw-source-core-undo-undel.cxx.patch
0007-translated-german-comments-in-sw-source-core-undo-undobj.cxx.patch
0008-translated-german-comments-in-sw-source-core-undo-undobj1.cxx.patch
0009-translated-german-comments-in-sw-source-core-undo-unins.cxx.patch
0010-translated-german-comments-in-sw-source-core-undo-rolbck.cxx.patch
0011-translated-german-comments-in-sw-source-core-undo-unmove.cxx.patch
0012-translated-german-comments-in-sw-source-core-undo-unovwr.cxx.patch
0013-translated-german-comments-in-sw-source-core-undo-unredln.cxx.patch
0014-translated-german-comments-in-sw-source-core-undo-unsect.cxx.patch
2012/5/28 Philipp Riemer <a class="moz-txt-link-rfc2396E" href="mailto:ruderphilipp@gmail.com"><ruderphilipp@gmail.com></a>:
</pre>
<blockquote type="cite">
<pre wrap="">After Michael Meeks' enthusiastic talks and a "digital" chat (sitting side
by side is no reason to not type your messages ;-) with him at LinuxTag in
Berlin, I got so excited about LibreOffice that I also wanted to help and
participate in this project.
I do not have much spare time but as I heard also the translation of parts
that are still in German does help. Therefore I added my name to the
corresponding wiki section
<a class="moz-txt-link-rfc2396E" href="https://wiki.documentfoundation.org/Development/Easy_Hacks/Translation_Of_Comments"><https://wiki.documentfoundation.org/Development/Easy_Hacks/Translation_Of_Comments></a>
and will submit translations of the writer source code piece by piece in the
following weeks as soon as I have some time to work on them.
Cheers,
Philipp
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LibreOffice mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/libreoffice">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a>
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>