boto / s3transfer
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
  • 13% duplication:
    • 4,201 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 568 duplicated lines
  • 52 duplicates
system13% (568 lines)
Duplication per Extension
py13% (568 lines)
Duplication per Component (primary)
s3transfer13% (568 lines)
ROOT0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 52 duplicates...
Size#FoldersFilesLinesCode
22 x 2 s3transfer
s3transfer
copies.py
upload.py
242:265 (9%)
704:727 (5%)
view
17 x 2 s3transfer
s3transfer
__init__.py
__init__.py
622:638 (3%)
839:857 (3%)
view
12 x 2 s3transfer
s3transfer
crt.py
processpool.py
306:320 (2%)
541:555 (2%)
view
12 x 2 s3transfer
s3transfer
__init__.py
utils.py
306:334 (2%)
561:589 (2%)
view
11 x 2 s3transfer
s3transfer
crt.py
crt.py
191:201 (2%)
205:215 (2%)
view
11 x 2 s3transfer
s3transfer
download.py
download.py
393:403 (2%)
443:453 (2%)
view
11 x 2 s3transfer
s3transfer
__init__.py
__init__.py
383:393 (1%)
521:531 (1%)
view
10 x 2 s3transfer
s3transfer
__init__.py
manager.py
705:714 (1%)
172:181 (2%)
view
9 x 2 s3transfer
s3transfer
download.py
download.py
371:379 (2%)
382:390 (2%)
view
9 x 2 s3transfer
s3transfer
download.py
upload.py
311:320 (2%)
547:556 (2%)
view
9 x 2 s3transfer
s3transfer
__init__.py
utils.py
355:369 (1%)
269:283 (2%)
view
9 x 2 s3transfer
s3transfer
__init__.py
download.py
628:636 (1%)
599:607 (2%)
view
9 x 2 s3transfer
s3transfer
crt.py
futures.py
348:358 (2%)
108:118 (3%)
view
9 x 2 s3transfer
s3transfer
__init__.py
download.py
847:855 (1%)
599:607 (2%)
view
9 x 2 s3transfer
s3transfer
upload.py
upload.py
609:617 (2%)
644:652 (2%)
view
8 x 2 s3transfer
s3transfer
download.py
download.py
382:389 (1%)
394:401 (1%)
view
8 x 2 s3transfer
s3transfer
download.py
download.py
371:378 (1%)
394:401 (1%)
view
8 x 2 s3transfer
s3transfer
futures.py
processpool.py
128:140 (2%)
543:553 (1%)
view
8 x 2 s3transfer
s3transfer
crt.py
futures.py
308:318 (1%)
128:140 (2%)
view
8 x 2 s3transfer
s3transfer
__init__.py
download.py
586:593 (1%)
521:529 (1%)
view
Duplicated Units
The list of top 7 duplicated units.
See data for all 7 unit duplicates...
Size#FoldersFilesLinesCode
9 x 2 s3transfer
s3transfer
download.py
download.py
0:0 
0:0 
view
7 x 2 s3transfer
s3transfer
upload.py
upload.py
0:0 
0:0 
view
6 x 2 s3transfer
s3transfer
__init__.py
manager.py
0:0 
0:0 
view
7 x 2 s3transfer
s3transfer
crt.py
futures.py
0:0 
0:0 
view
7 x 2 s3transfer
s3transfer
__init__.py
utils.py
0:0 
0:0 
view
6 x 2 s3transfer
s3transfer
__init__.py
utils.py
0:0 
0:0 
view
6 x 2 s3transfer
s3transfer
__init__.py
utils.py
0:0 
0:0 
view