aws-quickstart / quickstart-aws-biotech-blueprint-cdk
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
  • 54% duplication:
    • 9,487 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 5,137 duplicated lines
  • 231 duplicates
system54% (5,137 lines)
Duplication per Extension
yml51% (3,014 lines)
yaml78% (2,008 lines)
ts11% (82 lines)
py10% (33 lines)
Duplication per Component (primary)
templates51% (3,014 lines)
config-packs78% (2,008 lines)
lib11% (82 lines)
scripts10% (33 lines)
ROOT0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 231 duplicates...
Size#FoldersFilesLinesCode
455 x 2 templates
templates
AwsBiotechBlueprint.template.quicksta...
AwsBiotechBlueprint.template.yml
1454:1908 (14%)
1281:1735 (17%)
view
423 x 2 templates
templates
AwsBiotechBlueprint.template.quicksta...
AwsBiotechBlueprint.template.yml
1014:1436 (13%)
845:1267 (16%)
view
257 x 2 config-packs
config-packs
configpack.hipaa.bestpractices.yaml
configpack.nist.csf.bestpractices.yaml
654:910 (24%)
727:983 (22%)
view
242 x 2 config-packs
config-packs
configpack.hipaa.bestpractices.yaml
configpack.nist.csf.bestpractices.yaml
315:556 (22%)
385:626 (21%)
view
105 x 2 templates
templates
AwsBiotechBlueprint.template.quicksta...
AwsBiotechBlueprint.template.yml
1272:1376 (3%)
1567:1671 (3%)
view
105 x 2 templates
templates
AwsBiotechBlueprint.template.quicksta...
AwsBiotechBlueprint.template.quicksta...
1272:1376 (3%)
1740:1844 (3%)
view
105 x 2 templates
templates
AwsBiotechBlueprint.template.yml
AwsBiotechBlueprint.template.yml
1103:1207 (3%)
1567:1671 (3%)
view
105 x 2 templates
templates
AwsBiotechBlueprint.template.quicksta...
AwsBiotechBlueprint.template.yml
1740:1844 (3%)
1103:1207 (3%)
view
105 x 2 templates
templates
AwsBiotechBlueprint.template.quicksta...
AwsBiotechBlueprint.template.yml
751:855 (3%)
592:696 (3%)
view
92 x 2 templates
templates
AwsBiotechBlueprint.template.quicksta...
AwsBiotechBlueprint.template.quicksta...
1141:1232 (2%)
1609:1700 (2%)
view
92 x 2 templates
templates
AwsBiotechBlueprint.template.yml
AwsBiotechBlueprint.template.yml
972:1063 (3%)
1436:1527 (3%)
view
92 x 2 templates
templates
AwsBiotechBlueprint.template.quicksta...
AwsBiotechBlueprint.template.yml
1609:1700 (2%)
972:1063 (3%)
view
92 x 2 templates
templates
AwsBiotechBlueprint.template.quicksta...
AwsBiotechBlueprint.template.yml
1141:1232 (2%)
1436:1527 (3%)
view
79 x 2 config-packs
config-packs
configpack.hipaa.bestpractices.yaml
configpack.nist.csf.bestpractices.yaml
104:182 (7%)
113:191 (6%)
view
77 x 2 templates
templates
AwsBiotechBlueprint.template.quicksta...
AwsBiotechBlueprint.template.yml
865:941 (2%)
703:779 (2%)
view
76 x 2 config-packs
config-packs
configpack.hipaa.bestpractices.yaml
configpack.nist.csf.bestpractices.yaml
187:262 (7%)
194:269 (6%)
view
55 x 2 config-packs
config-packs
configpack.hipaa.bestpractices.yaml
configpack.nist.csf.bestpractices.yaml
971:1025 (5%)
1059:1113 (4%)
view
46 x 2 templates
templates
AwsBiotechBlueprint.template.quicksta...
AwsBiotechBlueprint.template.yml
951:996 (1%)
786:831 (1%)
view
45 x 2 config-packs
config-packs
configpack.hipaa.bestpractices.yaml
configpack.nist.csf.bestpractices.yaml
579:623 (4%)
653:697 (3%)
view
45 x 2 config-packs
config-packs
configpack.hipaa.bestpractices.yaml
configpack.nist.csf.bestpractices.yaml
1031:1075 (4%)
1114:1158 (3%)
view