aws-quickstart / quickstart-tibco-data-science
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
  • 34% duplication:
    • 1,270 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 432 duplicated lines
  • 38 duplicates
system34% (432 lines)
Duplication per Extension
yaml34% (432 lines)
Duplication per Component (primary)
templates34% (432 lines)
ci0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 38 duplicates...
Size#FoldersFilesLinesCode
34 x 2 templates
templates
tibco-data-science-master.template.yaml
tibco-data-science.template.yaml
17:50 (25%)
24:57 (4%)
view
17 x 2 templates
templates
emr-cluster.template.yaml
emr-cluster.template.yaml
76:92 (4%)
98:114 (4%)
view
13 x 2 templates
templates
emr-cluster.template.yaml
tibco-data-science.template.yaml
5:17 (3%)
149:161 (1%)
view
12 x 2 templates
templates
emr-cluster.template.yaml
tibco-data-science.template.yaml
25:36 (3%)
169:180 (1%)
view
12 x 2 templates
templates
tibco-data-science-master.template.yaml
tibco-data-science.template.yaml
57:68 (9%)
68:79 (1%)
view
8 x 2 templates
templates
emr-cluster.template.yaml
emr-cluster.template.yaml
252:259 (2%)
264:271 (2%)
view
8 x 2 templates
templates
emr-cluster.template.yaml
emr-cluster.template.yaml
156:163 (2%)
168:175 (2%)
view
8 x 2 templates
templates
emr-cluster.template.yaml
emr-cluster.template.yaml
228:235 (2%)
240:247 (2%)
view
8 x 2 templates
templates
emr-cluster.template.yaml
emr-cluster.template.yaml
180:187 (2%)
192:199 (2%)
view
8 x 2 templates
templates
emr-cluster.template.yaml
emr-cluster.template.yaml
276:283 (2%)
288:295 (2%)
view
8 x 2 templates
templates
emr-cluster.template.yaml
emr-cluster.template.yaml
300:307 (2%)
312:319 (2%)
view
8 x 2 templates
templates
emr-cluster.template.yaml
emr-cluster.template.yaml
204:211 (2%)
216:223 (2%)
view
7 x 2 templates
templates
tibco-data-science.template.yaml
tibco-data-science.template.yaml
376:382 (<1%)
387:393 (<1%)
view
7 x 2 templates
templates
tibco-data-science.template.yaml
tibco-data-science.template.yaml
420:426 (<1%)
429:435 (<1%)
view
7 x 2 templates
templates
tibco-data-science-master.template.yaml
tibco-data-science.template.yaml
104:110 (5%)
189:195 (<1%)
view
7 x 2 templates
templates
tibco-data-science-master.template.yaml
tibco-data-science.template.yaml
96:102 (5%)
213:219 (<1%)
view
7 x 2 templates
templates
tibco-data-science-master.template.yaml
tibco-data-science.template.yaml
89:95 (5%)
102:108 (<1%)
view
7 x 2 templates
templates
tibco-data-science-master.template.yaml
tibco-data-science.template.yaml
125:131 (5%)
181:187 (<1%)
view
6 x 2 templates
templates
emr-cluster.template.yaml
emr-cluster.template.yaml
173:178 (1%)
245:250 (1%)
view
6 x 2 templates
templates
emr-cluster.template.yaml
emr-cluster.template.yaml
221:226 (1%)
293:298 (1%)
view