facebookresearch / simsiam
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
  • 51% duplication:
    • 629 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 322 duplicated lines
  • 12 duplicates
system51% (322 lines)
Duplication per Extension
py51% (322 lines)
Duplication per Component (primary)
ROOT54% (322 lines)
simsiam0% (0 lines)
Longest Duplicates
The list of 12 longest duplicates.
See data for all 12 duplicates...
Size#FoldersFilesLinesCode
34 x 2 ROOT
ROOT
main_lincls.py
main_simsiam.py
450:494 (9%)
318:362 (13%)
view
24 x 2 ROOT
ROOT
main_lincls.py
main_simsiam.py
93:128 (7%)
93:128 (9%)
view
17 x 2 ROOT
ROOT
main_lincls.py
main_simsiam.py
66:82 (4%)
67:83 (6%)
view
16 x 2 ROOT
ROOT
main_lincls.py
main_simsiam.py
130:152 (4%)
129:151 (6%)
view
13 x 2 ROOT
ROOT
main_lincls.py
main_simsiam.py
30:43 (3%)
33:46 (5%)
view
12 x 2 ROOT
ROOT
main_lincls.py
main_simsiam.py
194:210 (3%)
165:181 (4%)
view
9 x 2 ROOT
ROOT
main_lincls.py
main_lincls.py
349:361 (2%)
392:404 (2%)
view
9 x 2 ROOT
ROOT
main_lincls.py
main_simsiam.py
235:244 (2%)
204:213 (3%)
view
8 x 2 ROOT
ROOT
main_lincls.py
main_simsiam.py
249:259 (2%)
214:224 (3%)
view
7 x 2 ROOT
ROOT
main_lincls.py
main_simsiam.py
364:373 (2%)
300:309 (2%)
view
6 x 2 ROOT
ROOT
main_lincls.py
main_simsiam.py
311:316 (1%)
262:267 (2%)
view
6 x 2 ROOT
ROOT
main_lincls.py
main_simsiam.py
273:279 (1%)
245:251 (2%)
view
Duplicated Units
The list of top 1 duplicated units.
See data for all 1 unit duplicate
Size#FoldersFilesLinesCode
27 x 2 ROOT
ROOT
main_simsiam.py
main_lincls.py
0:0 
0:0 
view