6 views
byoungd/up
An advanced guide which might benefit you a lot 🎉 . 韩先凯的人生进阶指南 人生进阶指南 离谱的人生 人生进阶 AI学习 AI指南 韩先凯的AI学习指南 英语学习指南/英语学习教程/英语学习/学英语
JavaScript★ 66,488+743 that day#7 on trending
C67.6/100
Duplication81
2.2% in javascript, python, bash, typescript, perl, vueDead code89
0.7%Complexity44
70.1% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
0.91%duplicated code · 33 of 3,610 lines
4clones in code
23code files of 277 scanned
3.64%duplicated over all files · 55 clones
Most complex files
- tests/site.spec.mjs241 cx
- scripts/build-pdf.py195 cx
- scripts/check-content.mjs171 cx
- scripts/build-epub.mjs124 cx
- docs/.vitepress/config.mts104 cx
- scripts/sync-navigation.mjs33 cx
- scripts/sync-public-assets.mjs28 cx
- scripts/subset-pdf-fonts.py23 cx
- .git/hooks/fsmonitor-watchman.sample19 cx
- docs/.vitepress/navigation.mjs19 cx
Dead code 0.66% unused · 6 findings
- .markdownlint-cli2.mjsunused-file
- scripts/build-pdf.py:KeepTogetherunused-import
- scripts/build-epub.mjs:statSyncunused-import
- scripts/build-epub.mjs:basenameunused-import
- scripts/build-pdf.py:osunused-import
- scripts/build-pdf.py:PurePosixPathunused-import
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.
Largest clones in the code
- 8 lines in 2 placesjavascript72 tokens
280function checkBilingualParity(markdownFiles) { 281 const publicFiles = markdownFiles.filter( 282 (file) => file.startsWith(`${DOCS}/`) && !file.endsWith("SUMMARY.md"), 283 ); 284 const chineseFiles = publicFiles.filter( 285 (file) => !file.startsWith(`${join(DOCS, "en")}/`) && file !== join(DOCS, "README.md"), 286 ); 287 const englishFiles = publicFiles.filter(342function checkUpdatedParity(markdownFiles) { 343 const publicFiles = markdownFiles.filter( 344 (file) => file.startsWith(`${DOCS}/`) && !file.endsWith("SUMMARY.md"), 345 ); 346 const chineseFiles = publicFiles.filter( 347 (file) => !file.startsWith(`${join(DOCS, "en")}/`) && file !== join(DOCS, "README.md"), 348 ); 349 350 const pairs = [[join(DOCS, "README.md"), join(DOCS, "en/README.md")]]; - 7 lines in 2 placesjavascript71 tokens
280function checkBilingualParity(markdownFiles) { 281 const publicFiles = markdownFiles.filter( 282 (file) => file.startsWith(`${DOCS}/`) && !file.endsWith("SUMMARY.md"), 283 ); 284 const chineseFiles = publicFiles.filter( 285 (file) => !file.startsWith(`${join(DOCS, "en")}/`) && file !== join(DOCS, "README.md"), 286 ); - 7 lines in 2 placesjavascript64 tokens
57 const path = join(dir, name); 58 const stat = statSync(path); 59 if (stat.isDirectory()) walk(path, extensions, output); 60 else if (extensions.has(extname(name).toLowerCase())) output.push(path); 61 } 62 return output; 63}
1 more
- 11 lines in 2 placesjavascript59 tokens
Largest clones over all files, tests and data included
- 89 lines in 2 placestxtdocs and examples885 tokens
5https://scripts.sil.org/OFL 6 7 8----------------------------------------------------------- 9SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 10----------------------------------------------------------- 11 12PREAMBLE 13The goals of the Open Font License (OFL) are to stimulate worldwide 14development of collaborative font projects, to support the font creation7http://scripts.sil.org/OFL 8 9----------------------------------------------------------- 10SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 11----------------------------------------------------------- 12 13PREAMBLE 14The goals of the Open Font License (OFL) are to stimulate worldwide 15development of collaborative font projects, to support the font 16creation efforts of academic and linguistic communities, and toFirst 10 of 89 lines, the second copy on the right.
- 54 lines in 2 placesmarkupdocs and examples845 tokens
1<svg width="1200" height="630" viewBox="0 0 1200 630" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="title description"> 2 <title id="title">Life Level-up Guide book sharing cover</title> 3 <desc id="description">By Han Xiankai. Five rising stages represent input, life, tools, practice, and action.</desc> 4 <rect width="1200" height="630" fill="#f5f7f3"/> 5 <rect width="14" height="630" fill="#176f5b"/> 6 <path d="M58 94H650M58 570H650" stroke="#cfd7d1" stroke-width="1"/> 7 <g fill="none" stroke="#dfe5e0" stroke-width="1"> 8 <path d="M720 70V570"/> 9 <path d="M1190 70V570"/> 10 <path d="M720 570H1190"/>First 10 of 54 lines.
- 53 lines in 2 placesmarkupdocs and examples814 tokens
1<svg width="1600" height="2560" viewBox="0 0 1600 2560" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="title description"> 2 <title id="title">Life Level-up Guide English ebook cover</title> 3 <desc id="description">By Han Xiankai. Five rising stages represent input, life, tools, practice, and action.</desc> 4 <rect width="1600" height="2560" fill="#f5f7f3"/> 5 <rect width="30" height="2560" fill="#176f5b"/> 6 <path d="M110 210H1490M110 2290H1490" stroke="#cfd7d1" stroke-width="2"/> 7 8 <g font-family="system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif"> 9 <text x="120" y="170" fill="#176f5b" font-size="38" font-weight="700">A LIFELONG LEARNING GUIDE FOR THE AI ERA</text> 10 <text x="112" y="500" fill="#1d2926" font-size="158" font-weight="800">LIFE LEVEL-UP</text>First 10 of 53 lines.
- 53 lines in 2 placesmarkupdocs and examples784 tokens
- 53 lines in 2 placesmarkupdocs and examples773 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| javascript | 11 | 1,731 | 4 | 33 | 1.91% |
| python | 2 | 1,061 | 0 | 0 | 0% |
| bash | 9 | 644 | 0 | 0 | 0% |
| perl | 1 | 174 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| markdown | 173 | 24,021 | 21 | 616 | 2.56% |
| javascript | 13 | 4,341 | 18 | 154 | 3.55% |
| markup | 12 | 486 | 11 | 287 | 59.05% |
| text | 17 | 176 | 3 | 43 | 24.43% |
| yaml | 37 | 581 | 1 | 12 | 2.07% |
| txt | 2 | 187 | 1 | 89 | 47.59% |
| python | 2 | 1,061 | 0 | 0 | 0% |
| bash | 9 | 644 | 0 | 0 | 0% |
| typescript | 4 | 597 | 0 | 0 | 0% |
| css | 1 | 383 | 0 | 0 | 0% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Oct 1, 2026 | #7 | 66,488 (+743) | 277 | 32,994 | 55 | 3.64% | 0.91% | C 67.6 | 7478ac2 |
| Sep 29, 2026 | #5 | 64,946 (+327) | 277 | 32,994 | 55 | 3.64% | 0.91% | C 67.6 | 7478ac2 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.