aws-quickstart / quickstart-bmc-track-it
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:
    • 2,598 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 639 duplicated lines
  • 27 duplicates
system24% (639 lines)
Duplication per Extension
yaml29% (639 lines)
Duplication per Component (primary)
templates29% (639 lines)
functions/source/lambda-self-signed-certificate0% (0 lines)
scripts0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 27 duplicates...
Size#FoldersFilesLinesCode
62 x 2 templates
templates
bmc-trackit-main.template.yaml
bmc-trackit-workload.template.yaml
169:236 (10%)
159:226 (4%)
view
45 x 2 templates
templates
bmc-trackit-main.template.yaml
bmc-trackit-workload.template.yaml
305:353 (7%)
271:319 (2%)
view
32 x 2 templates
templates
bmc-trackit-main.template.yaml
bmc-trackit-workload.template.yaml
69:105 (5%)
68:104 (2%)
view
22 x 2 templates
templates
bmc-trackit-main.template.yaml
bmc-trackit-workload.template.yaml
28:49 (3%)
28:49 (1%)
view
20 x 2 templates
templates
bmc-trackit-main.template.yaml
bmc-trackit-workload.template.yaml
355:377 (3%)
321:343 (1%)
view
15 x 2 templates
templates
bmc-trackit-main.template.yaml
bmc-trackit-workload.template.yaml
432:459 (2%)
522:549 (<1%)
view
15 x 2 templates
templates
bmc-trackit-main.template.yaml
bmc-trackit-workload.template.yaml
382:398 (2%)
348:364 (<1%)
view
13 x 2 templates
templates
bmc-trackit-main.template.yaml
bmc-trackit-workload.template.yaml
130:142 (2%)
125:137 (<1%)
view
13 x 2 templates
templates
bmc-trackit-main.template.yaml
bmc-trackit-workload.template.yaml
144:156 (2%)
139:151 (<1%)
view
11 x 2 templates
templates
bmc-trackit-main.template.yaml
bmc-trackit-workload.template.yaml
417:428 (1%)
468:479 (<1%)
view
9 x 2 templates
templates
bmc-trackit-workload.template.yaml
bmc-trackit-workload.template.yaml
1364:1372 (<1%)
1424:1432 (<1%)
view
8 x 2 templates
templates
bmc-trackit-workload.template.yaml
bmc-trackit-workload.template.yaml
761:768 (<1%)
796:803 (<1%)
view
8 x 2 templates
templates
bmc-trackit-main.template.yaml
bmc-trackit-workload.template.yaml
260:267 (1%)
247:254 (<1%)
view
8 x 2 templates
templates
bmc-trackit-workload.template.yaml
bmc-trackit-workload.template.yaml
796:803 (<1%)
833:840 (<1%)
view
8 x 2 templates
templates
bmc-trackit-workload.template.yaml
bmc-trackit-workload.template.yaml
761:768 (<1%)
833:840 (<1%)
view
8 x 2 templates
templates
bmc-trackit-workload.template.yaml
bmc-trackit-workload.template.yaml
1569:1576 (<1%)
1580:1587 (<1%)
view
7 x 2 templates
templates
bmc-trackit-main.template.yaml
bmc-trackit-workload.template.yaml
238:244 (1%)
233:239 (<1%)
view
7 x 2 templates
templates
bmc-trackit-workload.template.yaml
bmc-trackit-workload.template.yaml
1559:1565 (<1%)
1570:1576 (<1%)
view
7 x 2 templates
templates
bmc-trackit-workload.template.yaml
bmc-trackit-workload.template.yaml
1559:1565 (<1%)
1581:1587 (<1%)
view
6 x 2 templates
templates
bmc-trackit-main.template.yaml
bmc-trackit-workload.template.yaml
408:414 (<1%)
460:465 (<1%)
view