aws-quickstart / quickstart-duo-mfa
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
  • 24% duplication:
    • 3,554 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 869 duplicated lines
  • 94 duplicates
system24% (869 lines)
Duplication per Extension
yaml25% (869 lines)
Duplication per Component (primary)
templates25% (869 lines)
functions/source0% (0 lines)
scripts/source0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 94 duplicates...
Size#FoldersFilesLinesCode
14 x 2 templates
templates
duo-proxy-fargate-main.template.yaml
quickstart-duo-mfa-main.template.yaml
130:143 (4%)
137:150 (3%)
view
13 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
691:703 (<1%)
941:953 (<1%)
view
13 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
786:798 (<1%)
1656:1668 (<1%)
view
13 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
786:798 (<1%)
1827:1839 (<1%)
view
13 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
941:953 (<1%)
1656:1668 (<1%)
view
13 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
691:703 (<1%)
1827:1839 (<1%)
view
13 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
786:798 (<1%)
941:953 (<1%)
view
13 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
941:953 (<1%)
1827:1839 (<1%)
view
13 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
691:703 (<1%)
1656:1668 (<1%)
view
13 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
1656:1668 (<1%)
1827:1839 (<1%)
view
13 x 2 templates
templates
duo-proxy-fargate-main.template.yaml
duo-proxy-fargate.template.yaml
169:181 (3%)
277:289 (<1%)
view
13 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
691:703 (<1%)
786:798 (<1%)
view
12 x 2 templates
templates
duo-proxy-fargate.template.yaml
quickstart-duo-mfa.yaml
13:24 (<1%)
17:30 (1%)
view
12 x 2 templates
templates
duo-proxy-fargate.template.yaml
quickstart-duo-mfa.yaml
345:356 (<1%)
177:188 (1%)
view
12 x 2 templates
templates
duo-proxy-fargate-main.template.yaml
duo-proxy-fargate.template.yaml
238:249 (3%)
305:316 (<1%)
view
12 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
1197:1209 (<1%)
1220:1232 (<1%)
view
11 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
1277:1287 (<1%)
1583:1593 (<1%)
view
11 x 2 templates
templates
duo-proxy-fargate-main.template.yaml
duo-proxy-fargate.template.yaml
40:50 (3%)
40:53 (<1%)
view
11 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
349:359 (<1%)
1658:1668 (<1%)
view
11 x 2 templates
templates
duo-proxy-fargate.template.yaml
duo-proxy-fargate.template.yaml
349:359 (<1%)
693:703 (<1%)
view