Duplication Overall
  • 11% duplication:
    • 3,358 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 379 duplicated lines
  • 26 duplicates
system11% (379 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
rs12% (357 lines)
py4% (22 lines)
Duplication per Component (primary)
src12% (357 lines)
python4% (22 lines)
Longest Duplicates
The list of 26 longest duplicates.
See data for all 26 duplicates...
Size#FoldersFilesLinesCode
24 x 2 src
src
55:78 (23%)
95:118 (23%)
view
20 x 2 src
src
126:147 (6%)
154:175 (6%)
view
14 x 2 src
src
85:99 (4%)
113:127 (4%)
view
10 x 2 src
src
109:119 (3%)
137:147 (3%)
view
10 x 2 src
src
109:119 (3%)
165:175 (3%)
view
10 x 2 src
src
134:143 (<1%)
148:157 (<1%)
view
9 x 2 src/tiktoken_ext
src/tiktoken_ext
147:158 (2%)
168:179 (2%)
view
9 x 2 src/tiktoken_ext
src/tiktoken_ext
301:309 (2%)
312:320 (2%)
view
9 x 2 src
src
1182:1193 (<1%)
1299:1307 (<1%)
view
9 x 2 src
src
221:231 (3%)
176:184 (3%)
view
8 x 2 src/tiktoken_ext
src/tiktoken_ext
139:146 (1%)
212:219 (1%)
view
8 x 2 src/tiktoken_ext
src/tiktoken_ext
158:167 (1%)
220:228 (1%)
view
8 x 2 src
src
431:440 (<1%)
608:617 (<1%)
view
8 x 2 src
src
46:53 (7%)
86:93 (7%)
view
8 x 2 python/openai_harmony
python/openai_harmony
476:484 (1%)
491:499 (1%)
view
7 x 2 src
src
317:323 (<1%)
815:821 (<1%)
view
7 x 2 src
src
592:599 (<1%)
662:669 (<1%)
view
6 x 2 src
src
94:99 (2%)
130:135 (2%)
view
6 x 2 src
src
94:99 (2%)
158:163 (2%)
view
6 x 2 src
src
167:172 (<1%)
231:236 (<1%)
view
6 x 2 src
src
269:274 (<1%)
292:297 (<1%)
view
6 x 2 src
src
433:440 (<1%)
674:681 (<1%)
view
6 x 2 src
src
610:617 (<1%)
674:681 (<1%)
view
6 x 2 python/openai_harmony
python/openai_harmony
456:468 (1%)
478:484 (1%)
view
6 x 2 python/openai_harmony
python/openai_harmony
456:468 (1%)
493:499 (1%)
view
6 x 2 src
src
272:277 (2%)
222:227 (2%)
view
Most Frequent Duplicates
The list of 8 most frequently found duplicates.
Size#FoldersFilesLinesCode
6 x 3 src
src
src
433:440 (<1%)
610:617 (<1%)
674:681 (<1%)
view
6 x 3 src
src
src
111:116 (2%)
139:144 (2%)
167:172 (2%)
view
6 x 3 src
src
src
109:114 (2%)
137:142 (2%)
165:170 (2%)
view
6 x 3 src
src
src
110:115 (2%)
138:143 (2%)
166:171 (2%)
view
6 x 3 src
src
src
112:117 (2%)
140:145 (2%)
168:173 (2%)
view
6 x 3 python/openai_harmony
python/openai_harmony
python/openai_harmony
456:468 (1%)
478:484 (1%)
493:499 (1%)
view
6 x 3 src
src
src
94:99 (2%)
130:135 (2%)
158:163 (2%)
view
6 x 3 src
src
src
113:119 (2%)
141:147 (2%)
169:175 (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...