aws-quickstart / quickstart-ibm-maximo
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
  • 42% duplication:
    • 1,686 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 719 duplicated lines
  • 23 duplicates
system42% (719 lines)
Duplication per Extension
yaml42% (719 lines)
Duplication per Component (primary)
templates42% (719 lines)
scripts0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 23 duplicates...
Size#FoldersFilesLinesCode
120 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
160:279 (25%)
151:270 (24%)
view
25 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
28:52 (5%)
26:50 (5%)
view
25 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
334:359 (5%)
310:335 (5%)
view
24 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
304:327 (5%)
283:306 (4%)
view
20 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
54:73 (4%)
52:71 (4%)
view
19 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
81:100 (4%)
77:96 (3%)
view
16 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
377:392 (3%)
353:368 (3%)
view
15 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
361:375 (3%)
337:351 (3%)
view
14 x 2 templates
templates
maximo-objects.yaml
oracle.template.yaml
71:84 (4%)
97:110 (3%)
view
9 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
13:21 (1%)
12:20 (1%)
view
9 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
113:121 (1%)
101:109 (1%)
view
8 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
130:137 (1%)
118:125 (1%)
view
8 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
394:401 (1%)
370:377 (1%)
view
8 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
140:147 (1%)
136:143 (1%)
view
7 x 2 templates
templates
maximo-main.template.yaml
maximo.template.yaml
446:452 (1%)
386:392 (1%)
view
7 x 2 templates
templates
maximo-objects.yaml
oracle.template.yaml
3:9 (2%)
3:9 (1%)
view
7 x 2 templates
templates
maximo.template.yaml
oracle.template.yaml
316:322 (1%)
57:63 (1%)
view
7 x 2 templates
templates
maximo-objects.yaml
oracle.template.yaml
64:70 (2%)
89:95 (1%)
view
7 x 2 templates
templates
maximo-main.template.yaml
oracle.template.yaml
340:346 (1%)
57:63 (1%)
view
6 x 2 templates
templates
maximo-objects.yaml
maximo.template.yaml
48:53 (1%)
294:299 (1%)
view