aws-samples / automl-blueprint
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
  • 15% duplication:
    • 1,708 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 266 duplicated lines
  • 43 duplicates
system15% (266 lines)
Duplication per Extension
yml34% (204 lines)
py5% (62 lines)
Duplication per Component (primary)
code/deploy/cf34% (204 lines)
code/workflow/implementations/autopilot9% (62 lines)
notebook/utils0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 43 duplicates...
Size#FoldersFilesLinesCode
20 x 2 code/deploy/cf
code/deploy/cf
automl-blueprint.yml
automl-blueprint.yml
468:487 (3%)
495:514 (3%)
view
18 x 2 code/deploy/cf
code/deploy/cf
automl-blueprint.yml
automl-blueprint.yml
495:512 (3%)
522:539 (3%)
view
18 x 2 code/deploy/cf
code/deploy/cf
automl-blueprint.yml
automl-blueprint.yml
468:485 (3%)
522:539 (3%)
view
14 x 2 code/workflow/implementations/autopilot
code/workflow/implementations/autopilot
bp_bias_analysis_stage.py
bp_xai_analysis_stage.py
66:85 (12%)
86:105 (17%)
view
11 x 2 code/deploy/cf
code/deploy/cf
automl-blueprint.yml
automl-blueprint.yml
68:78 (1%)
134:144 (1%)
view
11 x 2 code/workflow/implementations/autopilot
code/workflow/implementations/autopilot
bp_error_analysis_stage.py
bp_xai_analysis_stage.py
53:68 (20%)
93:108 (13%)
view
10 x 2 code/deploy/cf
code/deploy/cf
automl-blueprint.yml
automl-blueprint.yml
422:431 (1%)
526:535 (1%)
view
10 x 2 code/deploy/cf
code/deploy/cf
automl-blueprint.yml
automl-blueprint.yml
422:431 (1%)
472:481 (1%)
view
10 x 2 code/deploy/cf
code/deploy/cf
automl-blueprint.yml
automl-blueprint.yml
422:431 (1%)
499:508 (1%)
view
10 x 2 code/workflow/implementations/autopilot
code/workflow/implementations/autopilot
bp_bias_analysis_stage.py
bp_error_analysis_stage.py
73:85 (9%)
53:65 (18%)
view
8 x 2 code/workflow/implementations/autopilot
code/workflow/implementations/autopilot
bp_automl_stage.py
bp_bias_analysis_stage.py
187:196 (4%)
74:83 (7%)
view
8 x 2 code/workflow/implementations/autopilot
code/workflow/implementations/autopilot
bp_automl_stage.py
bp_error_analysis_stage.py
187:196 (4%)
54:63 (14%)
view
8 x 2 code/workflow/implementations/autopilot
code/workflow/implementations/autopilot
bp_automl_stage.py
bp_xai_analysis_stage.py
187:196 (4%)
94:103 (10%)
view
8 x 2 code/deploy/cf
code/deploy/cf
automl-blueprint.yml
automl-blueprint.yml
291:298 (1%)
333:340 (1%)
view
7 x 2 code/workflow/implementations/autopilot
code/workflow/implementations/autopilot
bp_bias_analysis_stage.py
bp_xai_analysis_stage.py
56:63 (6%)
28:35 (8%)
view
7 x 2 code/deploy/cf
code/deploy/cf
automl-blueprint.yml
automl-blueprint.yml
239:245 (1%)
257:263 (1%)
view
7 x 2 code/deploy/cf
code/deploy/cf
automl-blueprint.yml
automl-blueprint.yml
203:209 (1%)
221:227 (1%)
view
7 x 2 code/deploy/cf
code/deploy/cf
automl-blueprint.yml
automl-blueprint.yml
221:227 (1%)
239:245 (1%)
view
7 x 2 code/deploy/cf
code/deploy/cf
automl-blueprint.yml
automl-blueprint.yml
203:209 (1%)
239:245 (1%)
view
7 x 2 code/deploy/cf
code/deploy/cf
automl-blueprint.yml
automl-blueprint.yml
203:209 (1%)
257:263 (1%)
view
Duplicated Units
The list of top 1 duplicated units.
See data for all 1 unit duplicate
Size#FoldersFilesLinesCode
13 x 2 code/workflow/implementations/autopilot
code/workflow/implementations/autopilot
bp_bias_analysis_stage.py
bp_xai_analysis_stage.py
0:0 
0:0 
view