1 view

ankitects/anki

Anki is a smart spaced repetition flashcard program

Rust★ 31,242+174 that day#8 on trending

Analyzed September 19, 2026 at 754ce3a (main) with jscpd 5.4.0 in 2.0s. Code duplication stayed at 2.18% across 2 appearances since Sep 17.

C55.3/100
Project health183,444 lines of code (L)
Duplication71
4.1% in rust, python, typescript, svelte, bash, sql, c, javascript, perl, swift, ruby, latex
Dead code38
10.7%
Complexity53
46.5%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

2.18%duplicated code · 4,100 of 188,425 lines
378clones in code
1,484code files of 1,686 scanned
2.43%duplicated over all files · 452 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 2 generated files: qt/tools/genhooks_gui.py, rslib/i18n/src/generated.rs.

Largest clones in the code

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
rust38283,7302011,9182.29%
typescript38127,727758763.16%
html2077,213656829.46%
python14845,079365841.3%
sql348921404.48%
svelte21219,445000%
scss751,951000%
bash241,091000%
c1337000%
javascript7263000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
rust35479,4401951,8702.35%
typescript40330,752981,1513.74%
html2077,213656829.46%
python18753,222466921.3%
yaml122,3312540417.33%
json105,936111993.35%
markup1430446722.04%
scss1144,4193701.58%
markdown312,9722140.47%
bash281,176180.68%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Sep 19, 2026#831,242 (+174)1,686214,4484522.43%2.18%C 55.3754ce3a
Sep 17, 2026#730,950 (+58)1,684214,1234512.43%2.18%—6f7a317

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.