核心程式碼數

來源:互聯網
上載者:User

工具: count lines of code at "http://cloc.sourceforge.net"

 

Linux-2.6.31-rc7


------------------------------------------------------
Language           files     blank   comment      code
------------------------------------------------------
C                  12573   1179553   1264252   6027154
C/C++ Header       10931    256634    410932   1352858
Assembly            1060     36565     43646    230460
make                1157      5196      5880     18508
Perl                  26      1566      1734      8149
Bourne Shell          55       504      1351      3068
yacc                   5       447       318      2962
C++                    1       206        58      1501
lex                    5       222       246      1399
------------------------------------------------------
SUM:               25836   1481330   1728564   7648383
------------------------------------------------------

 

linux-2.4-stable

------------------------------------------------------
Language           files     blank   comment      code
------------------------------------------------------
C                   5227    523494    626959   2707448
C/C++ Header        5129    133052    206367    691392
Assembly             535     27047     25540    169397
make                 475      4247      4597     10967
Bourne Shell          45       505      1459      3468
Perl                  11       362       437      2283
yacc                   2       235       223      1651
lex                    2        56       143       553
awk                    5        40        21       252
Lisp                   1        63         0       218
Bourne Again Shell     4        11        35        51
------------------------------------------------------
SUM:               11442    689206    865848   3588818
------------------------------------------------------

 

minix3

-----------------------------------------------------
Language          files     blank   comment      code
-----------------------------------------------------
C                  1716     62111     73369    366237
C/C++ Header        594      7441     11749     33913
Assembly            394      1130       369     11875
Bourne Shell         97       987       924     10198
make                119      1874       949      5563
lex                  10       198       168       931
yacc                  2       214       180       885
Perl                  5       131        66       538
awk                   2        29        37       212
-----------------------------------------------------
SUM:               2957     74221     87953    432064
-----------------------------------------------------

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.