boto / botocore
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
  • 3% duplication:
    • 14,062 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 490 duplicated lines
  • 20 duplicates
system3% (490 lines)
Duplication per Extension
py3% (490 lines)
Duplication per Component (primary)
botocore/crt92% (305 lines)
botocore1% (185 lines)
botocore/retries0% (0 lines)
botocore/vendored0% (0 lines)
botocore/vendored/requests0% (0 lines)
botocore/vendored/requests/packages0% (0 lines)
botocore/vendored/requests/packages/urllib30% (0 lines)
ROOT0% (0 lines)

Duplication Between Components (50+ lines)

G botocore botocore botocore/crt botocore/crt botocore--botocore/crt 53

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 20 longest duplicates.
See data for all 20 duplicates...
Size#FoldersFilesLinesCode
59 x 2 botocore/crt
botocore/crt
auth.py
auth.py
66:145 (18%)
249:328 (18%)
view
39 x 2 botocore/crt
botocore/crt
auth.py
auth.py
14:64 (11%)
197:247 (11%)
view
20 x 2 botocore/crt
botocore/crt
auth.py
auth.py
150:193 (6%)
333:376 (6%)
view
15 x 2 botocore/crt
botocore/crt
auth.py
auth.py
380:405 (4%)
470:495 (4%)
view
14 x 2 botocore
botocore
utils.py
utils.py
1677:1692 (<1%)
2076:2090 (<1%)
view
13 x 2 botocore
botocore/crt
auth.py
auth.py
444:472 (2%)
340:368 (3%)
view
13 x 2 botocore
botocore/crt
auth.py
auth.py
444:472 (2%)
157:185 (3%)
view
12 x 2 botocore/crt
botocore/crt
auth.py
auth.py
412:444 (3%)
505:537 (3%)
view
11 x 2 botocore
botocore
utils.py
utils.py
1975:1990 (<1%)
2241:2256 (<1%)
view
10 x 2 botocore
botocore
auth.py
auth.py
597:608 (1%)
829:840 (1%)
view
9 x 2 botocore
botocore
waiter.py
waiter.py
222:235 (4%)
242:255 (4%)
view
8 x 2 botocore
botocore
parsers.py
parsers.py
759:767 (1%)
893:901 (1%)
view
7 x 2 botocore
botocore/crt
auth.py
auth.py
518:527 (1%)
489:498 (2%)
view
7 x 2 botocore
botocore
serialize.py
serialize.py
217:224 (1%)
477:484 (1%)
view
7 x 2 botocore
botocore
serialize.py
serialize.py
353:360 (1%)
477:484 (1%)
view
7 x 2 botocore
botocore
serialize.py
serialize.py
217:224 (1%)
353:360 (1%)
view
7 x 2 botocore
botocore
client.py
client.py
272:278 (1%)
291:297 (1%)
view
7 x 2 botocore
botocore
waiter.py
waiter.py
348:354 (3%)
360:366 (3%)
view
6 x 2 botocore
botocore
regions.py
regions.py
104:109 (2%)
122:127 (2%)
view
6 x 2 botocore/crt
botocore/crt
auth.py
auth.py
454:466 (1%)
549:561 (1%)
view
Duplicated Units
The list of top 7 duplicated units.
See data for all 7 unit duplicates...
Size#FoldersFilesLinesCode
24 x 2 botocore/crt
botocore/crt
auth.py
auth.py
0:0 
0:0 
view
27 x 2 botocore/crt
botocore/crt
auth.py
auth.py
0:0 
0:0 
view
6 x 2 botocore
botocore
utils.py
utils.py
0:0 
0:0 
view
8 x 2 botocore/crt
botocore/crt
auth.py
auth.py
0:0 
0:0 
view
13 x 2 botocore/crt
botocore/crt
auth.py
auth.py
0:0 
0:0 
view
7 x 2 botocore
botocore/crt
auth.py
auth.py
0:0 
0:0 
view
7 x 2 botocore
botocore
utils.py
utils.py
0:0 
0:0 
view