aws-samples / aws-scalable-big-blue-button-example
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
  • 48% duplication:
    • 4,398 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 2,119 duplicated lines
  • 196 duplicates
system48% (2,119 lines)
Duplication per Extension
yaml49% (2,119 lines)
Duplication per Component (primary)
templates46% (1,756 lines)
ROOT58% (363 lines)
scripts0% (0 lines)

Duplication Between Components (50+ lines)

G ROOT ROOT templates templates ROOT--templates 860

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 20 longest duplicates.
See data for all 196 duplicates...
Size#FoldersFilesLinesCode
81 x 2 templates
templates
bbb-on-aws-bbbappscalable.template.yaml
bbb-on-aws-bbbappsingle.template.yaml
34:114 (21%)
28:108 (25%)
view
77 x 2 templates
templates
bbb-on-aws-bbbappscalable.template.yaml
bbb-on-aws-bbbappsingle.template.yaml
252:340 (20%)
216:304 (24%)
view
65 x 2 ROOT
templates
bbb-on-aws-root.template.yaml
bbb-on-aws-bbbturn.template.yaml
242:306 (12%)
24:88 (23%)
view
61 x 2 templates
templates
bbb-on-aws-bbbappscalable.template.yaml
bbb-on-aws-bbbappsingle.template.yaml
173:234 (15%)
156:217 (19%)
view
59 x 2 ROOT
templates
bbb-on-aws-root.template.yaml
bbb-on-aws-bbbturn.template.yaml
175:233 (11%)
30:88 (21%)
view
59 x 2 ROOT
ROOT
bbb-on-aws-root.template.yaml
bbb-on-aws-root.template.yaml
175:233 (11%)
248:306 (11%)
view
56 x 2 templates
templates
bbb-on-aws-bbbappscalable.template.yaml
bbb-on-aws-ecs.template.yaml
39:94 (14%)
21:76 (26%)
view
56 x 2 ROOT
templates
bbb-on-aws-root.template.yaml
bbb-on-aws-bbbappscalable.template.yaml
114:169 (10%)
39:94 (14%)
view
56 x 2 templates
templates
bbb-on-aws-bbbappsingle.template.yaml
bbb-on-aws-ecs.template.yaml
33:88 (17%)
21:76 (26%)
view
56 x 2 ROOT
templates
bbb-on-aws-root.template.yaml
bbb-on-aws-ecs.template.yaml
114:169 (10%)
21:76 (26%)
view
56 x 2 ROOT
templates
bbb-on-aws-root.template.yaml
bbb-on-aws-bbbappsingle.template.yaml
114:169 (10%)
33:88 (17%)
view
31 x 2 ROOT
templates
bbb-on-aws-root.template.yaml
bbb-on-aws-bbbappsingle.template.yaml
206:236 (6%)
61:91 (9%)
view
31 x 2 ROOT
templates
bbb-on-aws-root.template.yaml
bbb-on-aws-bbbappscalable.template.yaml
206:236 (6%)
67:97 (8%)
view
29 x 2 ROOT
templates
bbb-on-aws-root.template.yaml
bbb-on-aws-bbbturn.template.yaml
113:141 (5%)
30:58 (10%)
view
29 x 2 ROOT
ROOT
bbb-on-aws-root.template.yaml
bbb-on-aws-root.template.yaml
113:141 (5%)
175:203 (5%)
view
29 x 2 ROOT
ROOT
bbb-on-aws-root.template.yaml
bbb-on-aws-root.template.yaml
113:141 (5%)
248:276 (5%)
view
28 x 2 ROOT
templates
bbb-on-aws-root.template.yaml
bbb-on-aws-bbbappscalable.template.yaml
249:276 (5%)
39:66 (7%)
view
28 x 2 ROOT
templates
bbb-on-aws-root.template.yaml
bbb-on-aws-bbbappsingle.template.yaml
249:276 (5%)
33:60 (8%)
view
28 x 2 ROOT
templates
bbb-on-aws-root.template.yaml
bbb-on-aws-bbbappscalable.template.yaml
176:203 (5%)
39:66 (7%)
view
28 x 2 templates
templates
bbb-on-aws-bbbturn.template.yaml
bbb-on-aws-ecs.template.yaml
31:58 (10%)
21:48 (13%)
view