aws-quickstart / quickstart-xebialabs-devops-platform
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
  • 14% duplication:
    • 3,037 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 434 duplicated lines
  • 23 duplicates
system14% (434 lines)
Duplication per Extension
yaml41% (404 lines)
py1% (30 lines)
Duplication per Component (primary)
templates41% (404 lines)
functions/source/create-db/psycopg21% (30 lines)
functions/source/create-db0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 23 duplicates...
Size#FoldersFilesLinesCode
26 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
332:357 (5%)
298:323 (5%)
view
17 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
316:332 (3%)
264:280 (3%)
view
17 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
23:39 (3%)
21:37 (3%)
view
14 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
57:70 (3%)
57:70 (2%)
view
12 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
85:96 (2%)
83:94 (2%)
view
12 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
143:154 (2%)
147:158 (2%)
view
10 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
300:309 (2%)
248:257 (1%)
view
9 x 2 functions/source/create-db/psycopg2
functions/source/create-db/psycopg2
pool.py
pool.py
176:186 (6%)
231:241 (6%)
view
8 x 2 templates
templates
xl-devops-platform.template.yaml
xl-devops-platform.template.yaml
491:498 (1%)
502:509 (1%)
view
8 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
187:194 (1%)
184:191 (1%)
view
8 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
168:175 (1%)
165:172 (1%)
view
7 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
135:141 (1%)
139:145 (1%)
view
7 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
161:167 (1%)
173:179 (1%)
view
7 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
200:206 (1%)
324:330 (1%)
view
7 x 2 templates
templates
xl-devops-platform.template.yaml
xl-devops-platform.template.yaml
438:444 (1%)
467:473 (1%)
view
7 x 2 templates
templates
xl-devops-platform.template.yaml
xl-devops-platform.template.yaml
448:454 (1%)
477:483 (1%)
view
7 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
176:182 (1%)
180:186 (1%)
view
6 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
285:290 (1%)
238:243 (1%)
view
6 x 2 functions/source/create-db/psycopg2
functions/source/create-db/psycopg2
_range.py
extras.py
345:352 (2%)
1076:1083 (<1%)
view
6 x 2 templates
templates
xl-devops-platform-master.template.yaml
xl-devops-platform.template.yaml
45:50 (1%)
50:55 (1%)
view
Duplicated Units
The list of top 1 duplicated units.
See data for all 1 unit duplicate
Size#FoldersFilesLinesCode
6 x 2 functions/source/create-db/psycopg2
functions/source/create-db/psycopg2
pool.py
pool.py
0:0 
0:0 
view