aws-quickstart / quickstart-dotnet-lambda-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
  • 24% duplication:
    • 430 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 107 duplicated lines
  • 11 duplicates
system24% (107 lines)
Duplication per Extension
yaml28% (107 lines)
Duplication per Component (primary)
templates17% (49 lines)
dotnet-app/build59% (29 lines)
dotnet-app46% (29 lines)
dotnet-app/src/ServerlessExample0% (0 lines)

Duplication Between Components (50+ lines)

G dotnet-app/build dotnet-app/build dotnet-app dotnet-app dotnet-app/build--dotnet-app 58

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 11 longest duplicates.
See data for all 11 duplicates...
Size#FoldersFilesLinesCode
19 x 2 dotnet-app/build
dotnet-app
template.yaml
template.yaml
17:35 (38%)
18:39 (45%)
view
10 x 2 dotnet-app/build
dotnet-app
template.yaml
template.yaml
6:15 (20%)
7:16 (23%)
view
8 x 2 templates
templates
serverless-cicd.template.yaml
serverless-cicd.template.yaml
110:117 (2%)
186:193 (2%)
view
8 x 2 templates
templates
serverless-cicd.template.yaml
serverless-cicd.template.yaml
110:117 (2%)
157:164 (2%)
view
8 x 2 templates
templates
serverless-cicd.template.yaml
serverless-cicd.template.yaml
157:164 (2%)
186:193 (2%)
view
7 x 2 templates
templates
serverless-cicd.template.yaml
serverless-cicd.template.yaml
82:88 (2%)
111:117 (2%)
view
7 x 2 templates
templates
serverless-cicd.template.yaml
serverless-cicd.template.yaml
82:88 (2%)
158:164 (2%)
view
7 x 2 templates
templates
serverless-cicd.template.yaml
serverless-cicd.template.yaml
82:88 (2%)
187:193 (2%)
view
6 x 2 templates
templates
serverless-cicd.template.yaml
serverless-cicd.template.yaml
119:124 (2%)
166:171 (2%)
view
6 x 2 templates
templates
serverless-cicd.template.yaml
serverless-cicd.template.yaml
90:95 (2%)
119:124 (2%)
view
6 x 2 templates
templates
serverless-cicd.template.yaml
serverless-cicd.template.yaml
90:95 (2%)
166:171 (2%)
view