Duplication Overall
  • 8% duplication:
    • 1,574 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 140 duplicated lines
  • 8 duplicates
system8% (140 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
ts9% (140 lines)
Duplication per Component (primary)
cdk19% (58 lines)
bandit6% (52 lines)
super-mode-calculator7% (30 lines)
.github0% (0 lines)
Longest Duplicates
The list of 8 longest duplicates.
See data for all 8 duplicates...
Size#FoldersFilesLinesCode
12 x 2 cdk/lib
cdk/lib
178:189 (6%)
199:210 (6%)
view
11 x 2 super-mode-calculator/src/lib
super-mode-calculator/src
79:89 (9%)
10:20 (45%)
view
10 x 2 cdk/lib
cdk/lib
101:112 (5%)
108:119 (5%)
view
9 x 2 cdk/lib
cdk/lib
86:94 (4%)
66:74 (9%)
view
8 x 2 bandit/src/query-lambda
bandit/src/query-lambda
170:177 (3%)
194:201 (3%)
view
8 x 2 bandit/src/query-lambda
bandit/src/query-lambda
178:185 (3%)
203:210 (3%)
view
8 x 2 bandit/src/query-lambda
super-mode-calculator/src/lib
21:28 (10%)
10:17 (27%)
view
6 x 2 bandit/src/query-lambda
bandit/src/scripts
21:26 (28%)
36:41 (18%)
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...