aws-quickstart / quickstart-chainlinklabs-chainlink-node
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
  • 54% duplication:
    • 1,901 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 1,035 duplicated lines
  • 45 duplicates
system54% (1,035 lines)
Duplication per Extension
yaml54% (1,035 lines)
Duplication per Component (primary)
templates54% (1,035 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 45 duplicates...
Size#FoldersFilesLinesCode
102 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node-workload.te...
209:310 (17%)
185:286 (19%)
view
60 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node-workload.te...
334:393 (10%)
310:369 (11%)
view
46 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node-workload.te...
96:141 (7%)
93:138 (8%)
view
41 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node-workload.te...
27:67 (7%)
26:66 (7%)
view
41 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node-workload.te...
456:496 (7%)
432:472 (7%)
view
38 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node.template.yaml
458:495 (6%)
247:284 (4%)
view
38 x 2 templates
templates
quickstart-chainlink-node-workload.te...
quickstart-chainlink-node.template.yaml
434:471 (7%)
247:284 (4%)
view
29 x 2 templates
templates
quickstart-chainlink-node-workload.te...
quickstart-chainlink-node.template.yaml
221:249 (5%)
146:174 (3%)
view
29 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node.template.yaml
245:273 (4%)
146:174 (3%)
view
20 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node-workload.te...
398:417 (3%)
374:393 (3%)
view
20 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node-workload.te...
430:449 (3%)
406:425 (3%)
view
19 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node.template.yaml
226:244 (3%)
147:165 (2%)
view
19 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node-workload.te...
144:162 (3%)
139:157 (3%)
view
19 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node-entrypoint....
226:244 (3%)
246:264 (3%)
view
19 x 2 templates
templates
quickstart-chainlink-node-workload.te...
quickstart-chainlink-node-workload.te...
202:220 (3%)
222:240 (3%)
view
19 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node-workload.te...
226:244 (3%)
222:240 (3%)
view
19 x 2 templates
templates
quickstart-chainlink-node-workload.te...
quickstart-chainlink-node.template.yaml
202:220 (3%)
147:165 (2%)
view
19 x 2 templates
templates
quickstart-chainlink-node-entrypoint....
quickstart-chainlink-node-workload.te...
246:264 (3%)
202:220 (3%)
view
16 x 2 templates
templates
quickstart-chainlink-node-workload.te...
quickstart-chainlink-node.template.yaml
14:29 (3%)
11:26 (2%)
view
14 x 2 templates
templates
quickstart-chainlink-node-workload.te...
quickstart-chainlink-node.template.yaml
66:79 (2%)
47:60 (1%)
view