anthropics / blobfile
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
  • For duplication, we look at places in code where there are 6 or more lines of code that are exactly the same.
  • Before duplication is calculated, the code is cleaned to remove empty lines, comments, and frequently duplicated constructs such as imports.
  • You should aim at having as little as possible (<5%) of duplicated code as high-level of duplication can lead to maintenance difficulties, poor factoring, and logical contradictions.
Learn more...
Duplication Overall
  • 7% duplication:
    • 4,302 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 339 duplicated lines
  • 22 duplicates
system7% (339 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
py7% (339 lines)
Duplication per Component (primary)
blobfile8% (333 lines)
scripts10% (6 lines)
testing0% (0 lines)
ROOT0% (0 lines)
Longest Duplicates
The list of 22 longest duplicates.
See data for all 22 duplicates...
Size#FoldersFilesLinesCode
16 x 2 blobfile
blobfile
1448:1465 (1%)
38:55 (9%)
view
15 x 2 blobfile
blobfile
1474:1488 (1%)
78:92 (8%)
view
13 x 2 blobfile
blobfile
708:724 (1%)
734:748 (1%)
view
10 x 2 blobfile
blobfile
738:748 (<1%)
766:776 (<1%)
view
10 x 2 blobfile
blobfile
714:724 (<1%)
766:776 (<1%)
view
9 x 2 blobfile
blobfile
230:238 (<1%)
203:211 (1%)
view
9 x 2 blobfile
blobfile
211:220 (<1%)
178:187 (1%)
view
9 x 2 blobfile
blobfile
947:955 (<1%)
1159:1167 (<1%)
view
8 x 2 blobfile
blobfile
1277:1284 (<1%)
1654:1661 (<1%)
view
8 x 2 blobfile
blobfile
84:91 (<1%)
99:106 (4%)
view
8 x 2 blobfile
blobfile
807:814 (<1%)
329:336 (4%)
view
7 x 2 blobfile
blobfile
1426:1432 (<1%)
1443:1449 (<1%)
view
7 x 2 blobfile
blobfile
1269:1275 (<1%)
1643:1649 (<1%)
view
7 x 2 blobfile
blobfile
84:90 (1%)
102:108 (1%)
view
7 x 2 blobfile
blobfile
1241:1247 (<1%)
1614:1620 (<1%)
view
7 x 2 blobfile
blobfile
1445:1453 (<1%)
813:821 (1%)
view
7 x 2 blobfile
blobfile
786:793 (<1%)
308:316 (4%)
view
6 x 2 blobfile
blobfile
519:524 (<1%)
529:534 (<1%)
view
6 x 2 blobfile
blobfile
26:31 (<1%)
23:28 (<1%)
view
6 x 2 blobfile
scripts
949:954 (<1%)
22:27 (10%)
view
6 x 2 blobfile
blobfile
277:288 (<1%)
391:402 (<1%)
view
6 x 2 blobfile
blobfile
799:805 (<1%)
321:328 (3%)
view
Most Frequent Duplicates
The list of 5 most frequently found duplicates.
Size#FoldersFilesLinesCode
6 x 3 blobfile
blobfile
blobfile
717:722 (<1%)
741:746 (<1%)
769:774 (<1%)
view
6 x 3 blobfile
blobfile
blobfile
718:723 (<1%)
742:747 (<1%)
770:775 (<1%)
view
6 x 3 blobfile
blobfile
blobfile
719:724 (<1%)
743:748 (<1%)
771:776 (<1%)
view
6 x 3 blobfile
blobfile
blobfile
716:721 (<1%)
740:745 (<1%)
768:773 (<1%)
view
6 x 3 blobfile
blobfile
blobfile
714:720 (<1%)
738:744 (<1%)
766:772 (<1%)
view