Rails 1.2.0 RC2 has 4125 duplicate lines

Jean-Michel G
Wed, 10 Jan 2007 15:17:20 -0000

I have been evaluating the excellent and super fast Similarity Analyser
by Red Hill Consulting to generate a dupplicated lines reports from
Rails 1.2.0 RC2 source code (excluding the tests).

On the 10th of January 2007, Rails 1.2.0 RC2 has 4125 duplicate lines
in 793 blocks in 231 files

    * actionmailer has 584 duplicate lines in 107 blocks in 20 files
    * actionpack has 718 duplicate lines in 154 blocks in 58 files
    * actionwebservice has 241 duplicate lines in 51 blocks in 21 files
    * actionrecord has 1529 duplicate lines in 301 blocks in 45 files
    * activesupport has 418 duplicate lines in 78 blocks in 44 files
    * railties has 635 duplicate lines in 102 blocks in 43 files

Detailled reports on
http://21croissants.blogspot.com/2007/01/rails-120-rc2-dupplicated-lines-simian.html

Now the debate is opened about what to do with these reports !!!

Jean-Michel