Duplication Overall
  • 37% duplication:
    • 1,569 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 590 duplicated lines
  • 19 duplicates
system37% (590 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
css89% (471 lines)
yaml18% (119 lines)
Duplication per Component (primary)
sd-warning66% (276 lines)
static86% (239 lines)
cloudformation17% (75 lines)
ROOT0% (0 lines)
templates0% (0 lines)
src0% (0 lines)

Duplication Between Components (50+ lines)

flowchart TB
    n0["sd-warning"]
    n1["static"]
    n2["cloudformation"]
    n0 ---|"471"| n1
    n2 ---|"95"| n0
    classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    linkStyle 0 stroke:#DC143CFF,stroke-width:10px
    linkStyle 1 stroke:#DC143C70,stroke-width:2px



2D force graph | 3D force graph

Show more details on duplication between components...
From Component
 --> To Component
Duplicated
Lines
File Pairs Details
sd-warning (56%)
  --> static (85%)
471 1 file pair details...
cloudformation (11%)
  --> sd-warning (11%)
95 2 file pairs details...

Longest Duplicates
The list of 19 longest duplicates.
See data for all 19 duplicates...
Size#FoldersFilesLinesCode
57 x 2 sd-warning/static
static
248:313 (22%)
279:344 (20%)
view
44 x 2 sd-warning/static
static
32:84 (17%)
32:84 (15%)
view
30 x 2 sd-warning/static
static
93:131 (11%)
103:141 (10%)
view
30 x 2 sd-warning/static
static
191:227 (11%)
222:258 (10%)
view
24 x 2 cloudformation
sd-warning/cloudformation
188:211 (6%)
100:123 (14%)
view
23 x 2 sd-warning/static
static
131:159 (9%)
150:178 (8%)
view
23 x 2 sd-warning/static
static
162:189 (9%)
193:220 (8%)
view
12 x 2 sd-warning/static
static
1:14 (4%)
1:14 (4%)
view
11 x 2 cloudformation
sd-warning/cloudformation
148:158 (3%)
87:97 (6%)
view
8 x 2 cloudformation
cloudformation
99:106 (2%)
126:133 (2%)
view
8 x 2 cloudformation
cloudformation
99:106 (2%)
254:261 (2%)
view
8 x 2 cloudformation
cloudformation
126:133 (2%)
254:261 (2%)
view
8 x 2 cloudformation
sd-warning/cloudformation
14:21 (9%)
42:49 (4%)
view
8 x 2 cloudformation
sd-warning/cloudformation
45:52 (2%)
40:48 (4%)
view
8 x 2 sd-warning/static
static
229:239 (3%)
260:270 (2%)
view
7 x 2 static
static
183:189 (2%)
196:202 (2%)
view
7 x 2 cloudformation
cloudformation
14:20 (8%)
46:52 (2%)
view
7 x 2 sd-warning/static
static
165:171 (2%)
183:189 (2%)
view
6 x 2 sd-warning/static
static
18:25 (2%)
14:21 (2%)
view
Most Frequent Duplicates
The list of 7 most frequently found duplicates.
Size#FoldersFilesLinesCode
6 x 3 cloudformation
sd-warning/cloudformation
cloudformation
14:19 (7%)
42:47 (3%)
46:51 (1%)
view
6 x 3 cloudformation
cloudformation
cloudformation
99:104 (1%)
126:131 (1%)
254:259 (1%)
view
6 x 3 cloudformation
cloudformation
cloudformation
101:106 (1%)
128:133 (1%)
256:261 (1%)
view
6 x 3 cloudformation
sd-warning/cloudformation
cloudformation
15:20 (7%)
43:48 (3%)
47:52 (1%)
view
6 x 3 sd-warning/static
static
static
165:170 (2%)
183:188 (2%)
196:201 (2%)
view
6 x 3 cloudformation
cloudformation
cloudformation
100:105 (1%)
127:132 (1%)
255:260 (1%)
view
6 x 3 sd-warning/static
static
static
166:171 (2%)
184:189 (2%)
197:202 (2%)
view
About This Analysis
  • 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...