aws-samples / s3booster-snowball
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
  • 66% duplication:
    • 487 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 322 duplicated lines
  • 7 duplicates
system66% (322 lines)
Duplication per Extension
py66% (322 lines)
Duplication per Component (primary)
ROOT66% (322 lines)
Longest Duplicates
The list of 7 longest duplicates.
See data for all 7 duplicates...
Size#FoldersFilesLinesCode
57 x 2 ROOT
ROOT
s3booster-snowball-v1.py
s3booster-snowball-v2.py
266:333 (21%)
217:284 (25%)
view
48 x 2 ROOT
ROOT
s3booster-snowball-v1.py
s3booster-snowball-v2.py
6:81 (18%)
9:84 (21%)
view
20 x 2 ROOT
ROOT
s3booster-snowball-v1.py
s3booster-snowball-v2.py
222:248 (7%)
165:191 (8%)
view
11 x 2 ROOT
ROOT
s3booster-snowball-v1.py
s3booster-snowball-v2.py
94:109 (4%)
96:111 (4%)
view
9 x 2 ROOT
ROOT
s3booster-snowball-v1.py
s3booster-snowball-v2.py
344:356 (3%)
296:308 (4%)
view
8 x 2 ROOT
ROOT
s3booster-snowball-v1.py
s3booster-snowball-v2.py
251:259 (3%)
205:213 (3%)
view
8 x 2 ROOT
ROOT
s3booster-snowball-v1.py
s3booster-snowball-v2.py
114:121 (3%)
116:123 (3%)
view
Duplicated Units
The list of top 3 duplicated units.
See data for all 3 unit duplicates...
Size#FoldersFilesLinesCode
19 x 2 ROOT
ROOT
s3booster-snowball-v2.py
s3booster-snowball-v1.py
0:0 
0:0 
view
7 x 2 ROOT
ROOT
s3booster-snowball-v2.py
s3booster-snowball-v1.py
0:0 
0:0 
view
8 x 2 ROOT
ROOT
s3booster-snowball-v2.py
s3booster-snowball-v1.py
0:0 
0:0 
view