Hi guys, I just would like to inform you about interesting tool. Today I want to answer some email about yast and need to know what is current state of LOC of YaST. So I do a bit search as output of find and wc -l was not enough for me. And found interesting tool cloc[1]. I install it with npm method with `sudo npm install -g cloc`. And how looks output now for yast (my own checkout without snapper, libstorage-ng and some others)? like this ( sorry for broken formating, but email are not perfect for ascii output ). I expect many HTML is generated doc, btw our biggest ruby file is [2]:
jreidinger@linux-vvcf:~/prace/yast> cloc .
16111 text files.
14565 unique files.
5948 files ignored.
github.com/AlDanial/cloc v 1.85 T=20.84 s (515.5 files/s, 132408.6 lines/s)
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
HTML 1628 468135 1247 705188
Ruby 4281 104886 150083 573752
C++ 726 40778 31679 143555
XML 359 3236 5807 97274
Python 280 3174 2397 61881
Perl 188 10166 7772 45276
YAML 676 2259 1381 40101
Markdown 361 10707 1 34282
C/C++ Header 640 18259 38038 30950
JSON 9 0 0 24797
SVG 281 76 170 14525
Sass 100 1595 1889 8431
C 31 1261 474 6648
TeX 59 1575 85 6423
make 360 2520 1825 6372
CMake 140 769 631 4332
diff 96 933 3028 4257
Bourne Again Shell 68 830 2009 4252
XSLT 21 569 531 3922
CSS 17 546 302 3785
JavaScript 65 504 382 3658
Bourne Shell 192 808 1232 2910
SWIG 24 288 169 1647
Cucumber 18 159 13 1254
Expect 52 504 440 1218
Qt 5 0 0 1077
Lisp 4 49 56 412
vim script 2 31 36 381
Dockerfile 47 47 24 290
ERB 7 31 20 173
m4 2 26 7 117
XSD 1 0 0 95
Tcl/Tk 1 22 32 57
PO File 2 5 16 40
Clojure 1 4 0 9
--------------------------------------------------------------------------------
SUM: 10744 674752 251776 1833341
--------------------------------------------------------------------------------
[1] https://github.com/AlDanial/cloc
[2]
https://github.com/yast/yast-ycp-ui-bindings/blob/master/examples/Tree-recursive-large.rb
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]
