I am pretty sure the varying LOC figures, particularly the 3.0-3.4 MLOC, come from ignoring non-C files while Wine has a lot .h and .idl, and/or from ignoring blank lines and comments:
Code:
$ cloc . 11056 text files. 10759 unique files. 3818 files ignored. github.com/AlDanial/cloc v 1.82 T=322.01 s (22.5 files/s, 22216.9 lines/s) --------------------------------------------------------------------------------------- Language files blank comment code --------------------------------------------------------------------------------------- C 3474 622854 338285 3472435 C/C++ Header 1313 141562 71052 853685 PO File 48 182352 192366 442593 make 1230 6973 2487 405819 IDL 420 23689 4 134872 SVG 108 204 81 88369 Windows Module Definition 177 954 176 26206 Bourne Shell 10 2291 2221 25197 Perl 44 3417 2304 19139 yacc 15 2000 996 16357 Windows Resource File 330 2103 6652 11161 JavaScript 19 1526 367 9118 Objective C 8 1432 1112 6815 Windows Message File 3 7 15 4534 lex 9 628 1104 4414 m4 2 274 226 3992 Visual Basic 5 606 99 3410 DOS Batch 2 217 297 3128 Python 1 600 529 1905 Expect 2 56 0 1768 C++ 2 225 48 1168 HTML 7 188 7 834 Java 1 111 31 749 XML 4 15 17 485 XSD 1 188 15 388 Forth 1 55 0 135 Verilog-SystemVerilog 1 59 0 116 awk 1 7 4 69 XSLT 1 3 0 23 C# 1 4 20 17 --------------------------------------------------------------------------------------- SUM: 7240 994600 620515 5538901 ---------------------------------------------------------------------------------------
Comment