ankitects/anki
Anki is a smart spaced repetition flashcard program
Rust★ 31,242+174 that day#8 on trendingC 55.3 health3.31% duplicated
C55.3/100
Duplication71
4.1% in rust, python, typescript, svelte, bash, sql, c, javascript, perl, swift, ruby, latexDead code38
10.7%Complexity53
46.5%Most complex files
- qt/aqt/main.py376 cx
- qt/aqt/addons.py335 cx
- qt/aqt/editor_legacy.py327 cx
- rslib/src/storage/card/mod.rs281 cx
- qt/aqt/browser/sidebar/tree.py270 cx
- rslib/src/search/sqlwriter.rs267 cx
- rslib/src/search/parser.rs250 cx
- qt/aqt/utils.py248 cx
- qt/aqt/mediasrv.py239 cx
- qt/aqt/reviewer.py230 cx
Dead code 10.7% unused · 271 findings
- ts/lib/editable/frame-handle.tsunused-file
- ts/lib/sveltelib/dynamic-slotting.tsunused-file
- ts/lib/components/Select.svelteunused-file
- ts/lib/components/icons.tsunused-file
- ts/lib/components/ItemChooser.svelteunused-file
- ts/lib/components/SpinBox.svelteunused-file
- ts/lib/editable/frame-element.tsunused-file
- ts/routes/card-info/Revlog.svelteunused-file
- ts/lib/components/WithFloating.svelteunused-file
- ts/lib/editable/mathjax-element.svelte.tsunused-file
1,686files
243,548lines
1,195,659tokens
452clones
8,058duplicated lines (3.31%)
32,199duplicated tokens (2.69%)
By format
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| rust | 354 | 79,825 | 195 | 1,675 | 2.1% |
| typescript | 403 | 34,112 | 98 | 1,147 | 3.36% |
| html | 207 | 21,553 | 65 | 3,818 | 17.71% |
| python | 187 | 53,632 | 46 | 646 | 1.2% |
| yaml | 12 | 2,331 | 25 | 379 | 16.26% |
| json | 10 | 5,936 | 11 | 188 | 3.17% |
| markup | 14 | 304 | 4 | 63 | 20.72% |
| scss | 114 | 12,892 | 3 | 67 | 0.52% |
| markdown | 31 | 2,972 | 2 | 12 | 0.4% |
| css | 12 | 1,722 | 1 | 17 | 0.99% |
Largest clones
- 119 lines · 527 tokens pythonqt/aqt/editor.py:184–302⇆qt/aqt/editor_legacy.py:283–401
- 31 lines · 381 tokens markupdocs-site/media/favicon.svg:1–31⇆docs/_static/favicon.svg:1–31
- 38 lines · 264 tokens yaml.github/workflows/release.yml:160–197⇆.github/workflows/release.yml:216–253
- 18 lines · 234 tokens cssdocs-site/media/custom.css:1–18⇆docs/_static/custom.css:1–18
- 39 lines · 180 tokens yaml.github/workflows/ci.yml:370–408⇆.github/workflows/ci.yml:444–482
- 39 lines · 178 tokens yaml.github/workflows/ci.yml:295–333⇆.github/workflows/ci.yml:370–408
- 31 lines · 171 tokens typescriptts/routes/graphs/IntervalsGraph.svelte:6–36⇆ts/routes/graphs/StabilityGraph.svelte:6–36
- 37 lines · 170 tokens yaml.github/workflows/ci.yml:528–564⇆.github/workflows/ci.yml:603–639
- 28 lines · 169 tokens pythonqt/aqt/editor.py:123–150⇆qt/aqt/editor_legacy.py:226–253
- 24 lines · 158 tokens htmlts/routes/graphs/IntervalsGraph.svelte:55–78⇆ts/routes/graphs/StabilityGraph.svelte:56–87
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | Duplication | Health | Commit |
|---|---|---|---|---|---|---|---|---|
| Sep 19, 2026 | #8 | 31,242 (+174) | 1,686 | 243,548 | 452 | 3.31% | C 55.3 | 754ce3a |
| Sep 17, 2026 | #7 | 30,950 (+58) | 1,683 | 243,212 | 451 | 3.31% | — | 6f7a317 |
Want this for your own project? Install jscpd and run jscpd .