leejet/stable-diffusion.cpp

Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++

C++★ 7,285+36 that day#11 on trendingE 34.9 health11.08% duplicated

Analyzed September 25, 2026 at b167b94 (master) with jscpd v5 in 1.2s.

E34.9/100
Project health246,083 lines of code (L)
Duplication40
11.3% in c, cpp-header, c-header, cpp, python, bash, perl, powershell, cmake
Dead coden/a
the languages dead code reads are under 5% of the code
Complexity30
86.7%
405files
255,415lines
2,089,816tokens
1,549clones
28,300duplicated lines (11.08%)
225,516duplicated tokens (10.79%)

By format

FormatFilesLinesClonesDuplicated linesDuplication
cpp-header7176,1756026,7668.88%
c2076,46157617,42422.79%
c-header8250,4281942,2854.53%
cpp7040,5271131,2263.03%
markdown696,792242824.15%
text29228195122.37%
yaml61,0671318317.15%
json125734919.07%
python101,5682171.08%
bash35978280.82%

Largest clones

Trending appearances

DayRankStarsFilesLinesClonesDuplicationHealthCommit
Sep 25, 2026#117,285 (+36)405255,4151,54911.08%E 34.9b167b94

Want this for your own project? Install jscpd and run jscpd .