Duplication Overall
  • 3% duplication:
    • 7,301 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 288 duplicated lines
  • 20 duplicates
system3% (288 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
ts3% (268 lines)
yaml45% (20 lines)
Duplication per Component (primary)
src3% (268 lines)
.github68% (20 lines)
.agents0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 20 duplicates...
Size#FoldersFilesLinesCode
23 x 2 src
src
88:119 (15%)
191:222 (15%)
view
19 x 2 src/resources/chat
src/resources/responses
114:136 (22%)
117:138 (19%)
view
12 x 2 src/resources/chat
src/resources/responses
97:112 (14%)
100:115 (12%)
view
10 x 2 src
src
653:663 (2%)
716:726 (2%)
view
10 x 2 .github
.github
5:16 (34%)
25:35 (34%)
view
9 x 2 src/checks
src/checks
179:188 (6%)
192:202 (6%)
view
9 x 2 src/checks
src/checks
191:199 (6%)
248:256 (6%)
view
9 x 2 src/evals/core
src/evals/core
15:27 (16%)
14:26 (12%)
view
9 x 2 src/checks
src/checks
580:594 (2%)
217:231 (1%)
view
8 x 2 src/checks
src/checks
179:186 (5%)
249:256 (5%)
view
7 x 2 src/checks
src/checks
795:803 (<1%)
816:824 (<1%)
view
7 x 2 src/resources/chat
src/resources/responses
76:82 (8%)
79:85 (7%)
view
6 x 2 src
src
612:620 (1%)
679:687 (1%)
view
6 x 2 src/resources/chat
src/resources/chat
121:126 (7%)
131:136 (7%)
view
6 x 2 src/resources/responses
src/resources/responses
124:129 (6%)
133:138 (6%)
view
6 x 2 src/checks
src/checks
275:280 (1%)
286:291 (1%)
view
6 x 2 src/checks
src/checks
51:56 (2%)
51:56 (1%)
view
6 x 2 src/checks
src/checks
17:22 (1%)
18:23 (1%)
view
6 x 2 src/resources/chat
src/resources/responses
121:126 (7%)
133:138 (6%)
view
6 x 2 src/resources/chat
src/resources/responses
131:136 (7%)
124:129 (6%)
view
Most Frequent Duplicates
The list of 4 most frequently found duplicates.
Size#FoldersFilesLinesCode
6 x 4 src/resources/chat
src/resources/responses
src/resources/responses
src/resources/chat
121:126 (7%)
124:129 (6%)
133:138 (6%)
131:136 (7%)
view
6 x 3 src/checks
src/checks
src/checks
181:186 (4%)
194:199 (4%)
251:256 (4%)
view
6 x 3 src/checks
src/checks
src/checks
179:184 (4%)
192:197 (4%)
249:254 (4%)
view
6 x 3 src/checks
src/checks
src/checks
180:185 (4%)
193:198 (4%)
250:255 (4%)
view
Duplicated Units
The list of top 2 duplicated units.
See data for all 2 unit duplicates...
Size#FoldersFilesLinesCode
11 x 2 src/checks
src/checks
121:134 
568:581 
view
9 x 2 src/evals/core
src/evals/core
15:28 
14:27 
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...