aws-samples / aws-audit-manager-custom-frameworks
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
  • 64% duplication:
    • 1,485 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 952 duplicated lines
  • 89 duplicates
system64% (952 lines)
Duplication per Extension
yaml82% (421 lines)
yml100% (421 lines)
py19% (110 lines)
Duplication per Component (primary)
frameworks90% (842 lines)
ROOT19% (110 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 89 duplicates...
Size#FoldersFilesLinesCode
421 x 2 frameworks
frameworks
sampleData.yaml
sampleData.yml
1:421 (100%)
1:421 (100%)
view
13 x 2 frameworks
frameworks
sampleData.yaml
sampleData.yml
16:28 (3%)
289:301 (3%)
view
13 x 2 frameworks
frameworks
sampleData.yaml
sampleData.yml
289:301 (3%)
16:28 (3%)
view
13 x 2 frameworks
frameworks
sampleData.yaml
sampleData.yaml
16:28 (3%)
289:301 (3%)
view
13 x 2 frameworks
frameworks
sampleData.yml
sampleData.yml
16:28 (3%)
289:301 (3%)
view
12 x 2 ROOT
ROOT
utils.py
utils.py
45:56 (11%)
63:74 (11%)
view
9 x 2 ROOT
ROOT
createCustomStandard.py
createCustomStandard.py
51:59 (7%)
65:73 (7%)
view
9 x 2 ROOT
ROOT
createCustomStandard.py
createCustomStandard.py
125:138 (7%)
163:176 (7%)
view
8 x 2 frameworks
frameworks
sampleData.yaml
sampleData.yml
169:176 (1%)
390:397 (1%)
view
8 x 2 frameworks
frameworks
sampleData.yaml
sampleData.yml
266:273 (1%)
390:397 (1%)
view
8 x 2 frameworks
frameworks
sampleData.yaml
sampleData.yml
169:176 (1%)
266:273 (1%)
view
8 x 2 frameworks
frameworks
sampleData.yaml
sampleData.yaml
169:176 (1%)
266:273 (1%)
view
8 x 2 frameworks
frameworks
sampleData.yml
sampleData.yml
169:176 (1%)
266:273 (1%)
view
8 x 2 frameworks
frameworks
sampleData.yaml
sampleData.yaml
169:176 (1%)
390:397 (1%)
view
8 x 2 frameworks
frameworks
sampleData.yaml
sampleData.yaml
119:126 (1%)
217:224 (1%)
view
8 x 2 frameworks
frameworks
sampleData.yml
sampleData.yml
266:273 (1%)
390:397 (1%)
view
8 x 2 frameworks
frameworks
sampleData.yaml
sampleData.yml
35:42 (1%)
302:309 (1%)
view
8 x 2 frameworks
frameworks
sampleData.yml
sampleData.yml
169:176 (1%)
390:397 (1%)
view
8 x 2 frameworks
frameworks
sampleData.yaml
sampleData.yml
119:126 (1%)
217:224 (1%)
view
8 x 2 frameworks
frameworks
sampleData.yaml
sampleData.yml
302:309 (1%)
35:42 (1%)
view