4 views
ZuodaoTech/everyone-can-use-english
人人都能用英语
TypeScript★ 37,937+48 that day#9 on trending
C69.6/100
Duplication64
5.6% in tsx, typescript, javascript, vue, bash, perl, goDead code68
4.3%Complexity78
17.6% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
5.34%duplicated code · 3,292 of 61,610 lines
211clones in code
447code files of 751 scanned
6.97%duplicated over all files · 411 clones
Most complex files
- enjoy/src/preload.ts224 cx
- enjoy/src/types/enjoy-app.d.ts220 cx
- enjoy/src/renderer/components/medias/media-bottom-panel/media-player-controls.tsx150 cx
- enjoy/src/renderer/context/media-shadow-provider.tsx141 cx
- enjoy/src/renderer/components/medias/media-bottom-panel/media-current-recording.tsx131 cx
- enjoy/src/main/window.ts112 cx
- enjoy/src/renderer/context/chat-session-provider.tsx109 cx
- enjoy/src/renderer/context/app-settings-provider.tsx85 cx
- enjoy/src/renderer/hooks/use-chat-session.tsx79 cx
- enjoy/src/renderer/components/chats/chat-user-message.tsx67 cx
Dead code 4.29% unused · 103 findings
- enjoy/src/preload.tsunused-file
- enjoy/src/renderer/components/ui/use-toast.tsxunused-file
- enjoy/src/main/db/migrations/1722039161323-create-chats.jsunused-file
- enjoy/src/main/db/migrations/1726781106038-modify-chat.jsunused-file
- enjoy/src/main/azure-speech-sdk.tsunused-file
- enjoy/src/renderer/components/ui/toast.tsxunused-file
- enjoy/src/main/db/migrations/1703902823343-create-audio.jsunused-file
- enjoy/src/main/db/migrations/1703902826529-create-video.jsunused-file
- enjoy/src/main/db/migrations/1703902870618-create-pronunciation-assessment.jsunused-file
- enjoy/src/main/db/migrations/1729731114150-create-documents.jsunused-file
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 2 generated files: enjoy/forge.env.d.ts, enjoy/src/types/index.d.ts.
Largest clones in the code
- 148 lines in 2 placesjavascript475 tokens
1import { 2 getAssetFromKV, 3 mapRequestToAsset, 4} from "@cloudflare/kv-asset-handler"; 5 6/** 7 * The DEBUG flag will do two things that help during development: 8 * 1. we will skip caching on the edge, which makes it easier to 9 * debug. 10 * 2. we will return an error message on exception in your Response ratherFirst 10 of 148 lines.
- 17 lines in 9 placestypescript53 tokensenjoy/src/constants/gpt-presets.ts:16–32enjoy/src/constants/gpt-presets.ts:39–55enjoy/src/constants/gpt-presets.ts:62–78enjoy/src/constants/gpt-presets.ts:85–101enjoy/src/constants/gpt-presets.ts:108–124and 4 more
16每个句子最长不应该超过 20 个单词。`, 17 temperature: 0.2, 18 numberOfChoices: 1, 19 maxTokens: 2048, 20 presencePenalty: 0, 21 frequencyPenalty: 0, 22 historyBufferSize: 0, 23 tts: { 24 baseUrl: "", 25 engine: "enjoyai",First 10 of 17 lines.
- 46 lines in 2 placestsx293 tokensenjoy/src/renderer/components/audios/audios-component.tsx:185–230enjoy/src/renderer/components/videos/videos-component.tsx:183–228
185<Select value={orderBy} onValueChange={setOrderBy}> 186 <SelectTrigger className="max-w-36"> 187 <SelectValue /> 188 </SelectTrigger> 189 <SelectContent> 190 <SelectGroup> 191 <SelectItem value="updatedAtDesc"> 192 {t("updatedAtDesc")} 193 </SelectItem> 194 <SelectItem value="createdAtDesc">First 10 of 46 lines.
7 more
- 27 lines in 3 placestsx139 tokens
- 21 lines in 3 placestsx110 tokens
- 37 lines in 2 placestsx185 tokens
- 42 lines in 2 placestypescript178 tokens
- 30 lines in 2 placestypescript174 tokens
- 34 lines in 2 placestsx165 tokens
- 28 lines in 2 placestypescript164 tokens
Largest clones over all files, tests and data included
- 279 lines in 2 placesmarkupmarkup3,206 tokens
1<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:lang="en" id="95c7888bf42a479b932c0658164e8855-0" class="displacy" width… 2<text class="displacy-token" fill="currentColor" text-anchor="middle" y="572.0"> 3 <tspan class="displacy-word" fill="currentColor" x="50">The</tspan> 4 <tspan class="displacy-tag" dy="2em" fill="currentColor" x="50">DET</tspan> 5</text> 6 7<text class="displacy-token" fill="currentColor" text-anchor="middle" y="572.0"> 8 <tspan class="displacy-word" fill="currentColor" x="225">spectacular</tspan> 9 <tspan class="displacy-tag" dy="2em" fill="currentColor" x="225">ADJ</tspan> 10</text>First 10 of 279 lines.
- 15 lines in 19 placesmarkdowndocs and examples110 tokens1000-hours/sounds-of-american-english/3.1.1-ə.md:9–231000-hours/sounds-of-american-english/3.1.2-ɑ.md:7–211000-hours/sounds-of-american-english/3.1.3-i.md:7–221000-hours/sounds-of-american-english/3.1.4-u.md:7–221000-hours/sounds-of-american-english/3.1.5-e.md:7–22and 14 more
9## 3.1.1.1. 示例 10<table> 11<tbody> 12<tr> 13<td colspan="2"><strong>British</strong></td> 14<td colspan="2"><strong>American</strong></td> 15</tr> 16<tr> 17<td>D.J.</td> 18<td>例词(Example)</td>First 10 of 15 lines.
- 22 lines in 4 placesmarkupmarkup464 tokens1000-hours/public/images/speech-tract-lr.dark.svg:1–221000-hours/public/images/speech-tract-lr.light.svg:1–221000-hours/public/images/speech-tract-lr.svg:1–22new-edition-drafts/images/speech-tract-lr.svg:1–22
1<?xml version="1.0" encoding="UTF-8"?> 2<svg width="1280px" height="800px" viewBox="0 0 1280 800" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 3 <title>speech-tract-lr</title> 4 <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> 5 <g id="speech-tract-lr"> 6 <rect id="Rectangle" x="0" y="0" width="1280" height="800"></rect> 7 <g id="speech-tract" transform="translate(690, 78)"> 8 <path d="M35.7054606,316.942369 C29.7151759,317.943652 26.9986514,329.131901 26.9986514,329.131901 C26.9986514,329.131901 24.7871219,336.436914… 9 <path d="M416.193021,642.577031 C415.818628,642.916597 402.427556,641.035926 388.331232,636.482265 C378.544778,633.321693 368.558068,627.714508… 10 <path d="M75.7567828,450.156549 C75.7567828,450.156549 81.7993083,442.215939 85.3342728,421.424079 C89.1826825,398.760254 89.6876774,369.183224…First 10 of 22 lines.
- 21 lines in 4 placesmarkupmarkup438 tokens
- 21 lines in 4 placesmarkupmarkup433 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| tsx | 277 | 41,757 | 145 | 2,164 | 5.18% |
| typescript | 119 | 15,734 | 63 | 962 | 6.11% |
| javascript | 10 | 891 | 2 | 156 | 17.51% |
| scss | 9 | 496 | 1 | 10 | 2.02% |
| vue | 12 | 1,576 | 0 | 0 | 0% |
| bash | 10 | 667 | 0 | 0 | 0% |
| html | 8 | 251 | 0 | 0 | 0% |
| perl | 1 | 174 | 0 | 0 | 0% |
| go | 1 | 64 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| tsx | 277 | 41,757 | 145 | 2,164 | 5.18% |
| markup | 88 | 6,230 | 103 | 1,683 | 27.01% |
| typescript | 143 | 17,284 | 67 | 1,053 | 6.09% |
| markdown | 134 | 17,324 | 59 | 775 | 4.47% |
| javascript | 28 | 2,097 | 20 | 553 | 26.37% |
| yaml | 11 | 560 | 11 | 184 | 32.86% |
| mermaid | 6 | 44 | 3 | 15 | 34.09% |
| scss | 12 | 913 | 1 | 10 | 1.1% |
| python | 2 | 149 | 1 | 17 | 11.41% |
| text | 2 | 103 | 1 | 6 | 5.83% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Sep 20, 2026 | #9 | 37,937 (+48) | 751 | 92,686 | 411 | 6.97% | 5.34% | C 69.6 | 3d79913 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.