[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Copied code report [was: Re: [PATCH] SSL layer for svnserve]

From: Daniel Patterson <danpat_at_danpat.net>
Date: 2004-10-19 12:36:32 CEST

Joe Orton wrote:
>
> Bits of this code do look like they have been copied from neon e.g.

   Speaking of copied code, I ran across a tool called Simian [1]
   the other day which does code similarity checking.

   I've attached the results (gzipped, hope it's not too big for
   this list (18k)), most of the interesting matches are near the
   end of the report. Unsurprisingly, there are lots of long
   matches in the fs_fs vs bdb areas. There are some other
   rather suspect looking entries though:

Found 33 duplicate lines in the following files:
  Between lines 608 and 672 in subversion/libsvn_repos/delta.c
  Between lines 420 and 483 in subversion/libsvn_repos/reporter.c

   looks like someone moved the function but forgot to remove it.

   Make of it what you will.

daniel

[1] http://www.redhillconsulting.com.au/products/simian/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Oct 19 12:39:27 2004

This is an archived mail posted to the Subversion Dev mailing list.