aws-quickstart / quickstart-skillnet-simphony
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
  • 37% duplication:
    • 2,582 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 965 duplicated lines
  • 73 duplicates
system37% (965 lines)
Duplication per Extension
yaml37% (965 lines)
Duplication per Component (primary)
templates37% (965 lines)
scripts0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 73 duplicates...
Size#FoldersFilesLinesCode
37 x 2 templates
templates
simphony-oracledb.template.yaml
simphony-puppet.template.yaml
90:126 (19%)
103:139 (19%)
view
34 x 2 templates
templates
simphony-appserver.template.yaml
simphony-oracledb.template.yaml
57:90 (15%)
46:79 (17%)
view
22 x 2 templates
templates
simphony-appserver.template.yaml
simphony-puppet.template.yaml
72:93 (9%)
62:83 (11%)
view
20 x 2 templates
templates
simphony-appserver.template.yaml
simphony-puppet.template.yaml
101:120 (8%)
86:105 (10%)
view
20 x 2 templates
templates
simphony-entrypoint-new-vpc.template....
simphony-new-vpc.template.yaml
171:190 (8%)
111:130 (15%)
view
19 x 2 templates
templates
simphony-oracledb.template.yaml
simphony-puppet.template.yaml
61:79 (9%)
62:80 (9%)
view
19 x 2 templates
templates
simphony-entrypoint-existing-vpc.temp...
simphony-entrypoint-new-vpc.template....
19:37 (10%)
20:38 (8%)
view
19 x 2 templates
templates
simphony-appserver.template.yaml
simphony-oracledb.template.yaml
5:23 (8%)
6:24 (9%)
view
19 x 2 templates
templates
simphony-qs-main.template.yaml
simphony-qs-main.template.yaml
165:183 (8%)
195:213 (8%)
view
17 x 2 templates
templates
simphony-entrypoint-new-vpc.template....
simphony-new-vpc.template.yaml
32:48 (7%)
19:35 (13%)
view
15 x 2 templates
templates
simphony-entrypoint-existing-vpc.temp...
simphony-entrypoint-new-vpc.template....
116:130 (8%)
144:158 (6%)
view
15 x 2 templates
templates
simphony-landingzone.template.yaml
simphony-landingzone.template.yaml
159:173 (3%)
195:209 (3%)
view
15 x 2 templates
templates
simphony-entrypoint-existing-vpc.temp...
simphony-entrypoint-new-vpc.template....
50:64 (8%)
53:67 (6%)
view
14 x 2 templates
templates
simphony-entrypoint-existing-vpc.temp...
simphony-entrypoint-new-vpc.template....
132:145 (7%)
160:173 (6%)
view
13 x 2 templates
templates
simphony-entrypoint-existing-vpc.temp...
simphony-entrypoint-new-vpc.template....
86:98 (7%)
111:123 (5%)
view
13 x 2 templates
templates
simphony-entrypoint-existing-vpc.temp...
simphony-entrypoint-new-vpc.template....
100:112 (7%)
125:137 (5%)
view
13 x 2 templates
templates
simphony-appserver.template.yaml
simphony-puppet.template.yaml
38:50 (5%)
34:46 (6%)
view
13 x 2 templates
templates
simphony-appserver.template.yaml
simphony-puppet.template.yaml
53:65 (5%)
47:59 (6%)
view
13 x 2 templates
templates
simphony-appserver.template.yaml
simphony-oracledb.template.yaml
32:44 (5%)
27:39 (6%)
view
12 x 2 templates
templates
simphony-appserver.template.yaml
simphony-puppet.template.yaml
14:25 (5%)
13:24 (6%)
view