We have a lot of duplicated code in the kernel
    Xin LI 
    delphij at frontfree.net
       
    Sat Jan 29 07:40:04 PST 2005
    
    
  
On Sat, Jan 29, 2005 at 04:21:28PM +0100, Poul-Henning Kamp wrote:
> In message <20050129161022.0de822fe at Magellan.Leidinger.net>, Alexander Leidinger writes:
> >Hi,
> >
> >http://www.leidinger.net/FreeBSD/simian-20-sys-20050129.log (253k)
> >contains a log of duplicated code in /sys (-current as of today). The
> >file starts with files with 20 consecutive lines of duplicated code and
> >ends with two files which share 1108 lines of code.
> >
> >If I let the program detect 6 consecutive lines of duplicated code, it
> >is also able to detect possible code reuse in the same file, but it also
> >prints a lot of "noise" then.
> >
> >I've filtered the list for some false positives (twa_fwimg, trlld?m,
> >if_patm_rtables), if someone else notices some more files please tell me
> >about them and I add them to the filter.
> 
> And we'll soon see the tool which generates this in src/tools/tools
> somewhere I hope ? :-)
A google search indicates that simian is a tool to look for similary of code.
	http://www.redhillconsulting.com.au/products/simian/
Cheers,
-- 
Xin LI <delphij frontfree net>	http://www.delphij.net/
See complete headers for GPG key and other information.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050129/bbf91405/attachment.bin
    
    
More information about the freebsd-current
mailing list