aws-quickstart / quickstart-dotnetcore-fargate-cicd
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
  • 7% duplication:
    • 838 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 65 duplicated lines
  • 5 duplicates
system7% (65 lines)
Duplication per Extension
yaml10% (65 lines)
Duplication per Component (primary)
templates10% (65 lines)
src/wwwroot/js0% (0 lines)
src/wwwroot/css0% (0 lines)
src0% (0 lines)
src/Pages0% (0 lines)
src/Pages/Shared0% (0 lines)
Longest Duplicates
The list of 5 longest duplicates.
See data for all 5 duplicates...
Size#FoldersFilesLinesCode
8 x 2 templates
templates
fargate-cicd.template.yaml
fargate-cicd.template.yaml
120:127 (1%)
138:145 (1%)
view
8 x 2 templates
templates
fargate-cicd.template.yaml
fargate-cicd.template.yaml
84:91 (1%)
102:109 (1%)
view
7 x 2 templates
templates
fargate-cicd.template.yaml
fargate-cicd.template.yaml
392:398 (1%)
433:439 (1%)
view
6 x 2 templates
templates
fargate-cicd.template.yaml
fargate-cicd.template.yaml
400:405 (<1%)
441:446 (<1%)
view
6 x 2 templates
templates
fargate-cicd.template.yaml
fargate-cicd.template.yaml
432:437 (<1%)
494:499 (<1%)
view