Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 970 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 970 Bytes

Graph SLOC 🚀

Update: Rewritten in Go https://github.com/kaihendry/lesshero ..though much slower due to go-git 😭

Usage example:

$ ./collect-stats.sh ~/suckless/dwm
1645 git commits
Progress : [########################################] 100%
./plot.sh dwm-3465bed.csv | gnuplot > dwm-3465bed.csv.svg
$ ./plot.sh dwm-3465bed.csv | gnuplot > dwm-3465bed.csv.svg
$ google-chrome-unstable dwm-3465bed.csv.svg

Using a "proper" SLOC counter

sloc of dwm

Using a proper SLOC counter is slow!

Using git show --numstat

lines of dwm

Conclusion

The trend (shape of the graph) is the same so I don't think it's worth counting or debating what is a SLOC.

SUCK LESS! Remember going down is better than up! Flat means stable.