"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of bochs-2.7.tar.gz (1 Aug 10:35, 5298413 Bytes)

About: bochs is a portable open source IA-32 (x86) PC emulator of the Intel x86 CPU, common I/O devices, and a custom BIOS. Bochs is capable of running most Operating Systems inside the emulation including Linux, DOS or Microsoft Windows.



Fossies downloads: /linux/miscbochs-2.7.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 825  (774 files within 51 directories)

Histograms of CLOC analysis data of bochs-2.7.tar.gz (y-axes: linear scale)
Histograms of CLOC analysis data of bochs-2.7.tar.gz (y-axes: logarithm scale)

The corresponding CLOC output data:
     744 text files.
     708 unique files.                              
     151 files ignored.

github.com/AlDanial/cloc v 1.90  T=0.80 s (746.4 files/s, 466577.8 lines/s)
---------------------------------------------------------------------------------------
Language                  files     blank   comment      code    scale   3rd gen. equiv
---------------------------------------------------------------------------------------
C++                         321     32464     29977    208024 x   1.51 =      314116.24
C/C++ Header                227      8474     10338     47419 x   1.00 =       47419.00
C                             9      3262      2126     18428 x   0.77 =       14189.56
R                             2        53         0      4024 x   3.00 =       12072.00
Windows Module Definition     2       500         0      3439 x   1.00 =        3439.00
yacc                          1        65         7      1311 x   1.51 =        1979.61
Bourne Shell                 16        70        66       397 x   3.81 =        1512.57
Perl                          5        57       100       391 x   4.00 =        1564.00
Assembly                      2        63       117       314 x   0.25 =          78.50
HTML                          2        51        19       306 x   1.90 =         581.40
lex                           1        20         0       287 x   1.00 =         287.00
Windows Resource File         3        13         2       190 x   1.00 =         190.00
Bourne Again Shell            1        11        23        66 x   3.81 =         251.46
diff                          1         7        33        34 x   1.00 =          34.00
XML                           2         0         0        30 x   1.90 =          57.00
C Shell                       1         0         0         4 x   3.81 =          15.24
---------------------------------------------------------------------------------------
SUM:                        596     45110     42808    284664 x   1.40 =      397786.58
---------------------------------------------------------------------------------------

A hint: This "standard" CLOC analysis has included all package contents files (with the exception of files generated by code-production systems such as GNU autotools). But there exists a perhaps more "realistic" alternative CLOC analysis (among others better suited for an optional codespell check rating) that tries additionally to exclude third party code but also files containing fonts, codepage or character set definitions, dictionaries, names, SVG or non-English languages.
Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  Codespell  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)