2 views

vastsa/PI-Desktop

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

TypeScript★ 2,858+552 that day#5 on trending

Analyzed September 12, 2026 at 24a2c43 (main) with jscpd 5.4.0 in 0.8s. Code duplication stayed at 3.4% across 2 appearances since Sep 10.

3.4%duplicated code · 5,299 of 155,989 lines
499clones in code
355code files of 1,282 scanned
3.83%duplicated over all files · 1,085 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 2 generated files: packages/shared/src/changelog.ts, scripts/release.mjs.

Largest clones in the code

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
rust3741,7003123,0597.34%
typescript21173,971921,0301.39%
tsx7633,448911,1513.44%
javascript155,5784591.06%
bash13866000%
python2252000%
perl1174000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
rust3741,7003123,0597.34%
typescript328112,5912473,7123.3%
css3722,5461911,6217.19%
tsx7633,448911,1513.44%
javascript23339,086881,0042.57%
markdown42099,821534450.45%
text631,7584959834.02%
json294,095271,47335.97%
markup82,638121325%
bash271,0335626%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Sep 12, 2026#52,858 (+552)1,282361,2511,0853.83%3.4%—24a2c43
Sep 10, 2026#101,816 (+417)1,196335,7429973.6%3.4%—8ce8ed3

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