aws-quickstart / quickstart-okta-asa
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
  • 66% duplication:
    • 1,796 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 1,195 duplicated lines
  • 65 duplicates
system66% (1,195 lines)
Duplication per Extension
yaml66% (1,195 lines)
Duplication per Component (primary)
templates66% (1,195 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 65 duplicates...
Size#FoldersFilesLinesCode
160 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-target.template.yaml
240:400 (21%)
240:400 (23%)
view
35 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-target.template.yaml
185:219 (4%)
190:224 (5%)
view
31 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-main.template.yaml
144:174 (4%)
151:182 (8%)
view
25 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-target.template.yaml
150:174 (3%)
157:181 (3%)
view
25 x 2 templates
templates
okta-asa-main.template.yaml
okta-asa-target.template.yaml
157:182 (6%)
157:181 (3%)
view
23 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-target.template.yaml
563:585 (3%)
530:552 (3%)
view
23 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-target.template.yaml
29:51 (3%)
27:49 (3%)
view
23 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-target.template.yaml
119:141 (3%)
126:148 (3%)
view
19 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-target.template.yaml
592:613 (2%)
559:580 (2%)
view
18 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-target.template.yaml
461:478 (2%)
447:464 (2%)
view
16 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-target.template.yaml
441:456 (2%)
427:442 (2%)
view
15 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-target.template.yaml
224:238 (1%)
224:238 (2%)
view
14 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-target.template.yaml
415:428 (1%)
401:414 (2%)
view
13 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-main.template.yaml
112:124 (1%)
116:128 (3%)
view
13 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-main.template.yaml
100:112 (1%)
100:112 (3%)
view
12 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-main.template.yaml
125:136 (1%)
132:143 (3%)
view
12 x 2 templates
templates
okta-asa-main.template.yaml
okta-asa-target.template.yaml
132:143 (3%)
132:143 (1%)
view
12 x 2 templates
templates
okta-asa-main.template.yaml
okta-asa-target.template.yaml
231:242 (3%)
213:224 (1%)
view
12 x 2 templates
templates
okta-asa-bastion.template.yaml
okta-asa-main.template.yaml
208:219 (1%)
231:242 (3%)
view
11 x 2 templates
templates
okta-asa-main.template.yaml
okta-asa-target.template.yaml
111:121 (3%)
114:124 (1%)
view