Duplication Overall
  • 22% duplication:
    • 644 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 142 duplicated lines
  • 11 duplicates
system22% (142 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
yaml30% (110 lines)
js11% (32 lines)
Duplication per Component (primary)
cloudformation32% (110 lines)
lambda11% (32 lines)
ROOT0% (0 lines)
Longest Duplicates
The list of 11 longest duplicates.
See data for all 11 duplicates...
Size#FoldersFilesLinesCode
11 x 2 cloudformation
cloudformation
104:114 (6%)
130:140 (6%)
view
11 x 2 cloudformation
cloudformation
8:18 (6%)
8:18 (6%)
view
9 x 2 cloudformation
cloudformation
60:68 (5%)
75:83 (5%)
view
7 x 2 lambda
lambda
224:230 (2%)
295:301 (2%)
view
6 x 2 lambda
lambda
156:161 (2%)
168:173 (2%)
view
6 x 2 lambda
lambda
224:229 (2%)
244:249 (2%)
view
6 x 2 lambda
lambda
244:249 (2%)
295:300 (2%)
view
6 x 2 cloudformation
cloudformation
121:126 (3%)
140:145 (3%)
view
6 x 2 cloudformation
cloudformation
1:6 (3%)
1:6 (3%)
view
6 x 2 cloudformation
cloudformation
35:40 (3%)
30:35 (3%)
view
6 x 2 cloudformation
cloudformation
152:157 (3%)
102:107 (3%)
view
Most Frequent Duplicates
The list of 1 most frequently found duplicates.
Size#FoldersFilesLinesCode
6 x 3 lambda
lambda
lambda
224:229 (2%)
244:249 (2%)
295:300 (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...