"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of gcc-10.2.0.tar.xz (23 Jul 08:52, 75004144 Bytes)

About: GCC - The GNU Compiler Collection is an integrated GNU compiler system for C, C++, Objective C, Chill, Fortran and Java (GCJ). GCC 10.x Release.



Fossies downloads: /linux/miscgcc-10.2.0.tar.xz  (tar.gz|tar.bz2|zip)
Fossies services: Member browsing
No. of package members: 105503  (100603 files within 4900 directories)

Histograms of CLOC analysis data of gcc-10.2.0.tar.xz (y-axes: linear scale)
Histograms of CLOC analysis data of gcc-10.2.0.tar.xz (y-axes: logarithm scale)

The corresponding CLOC output data:
   99997 text files.
   98977 unique files.                              
    5279 files ignored.

github.com/AlDanial/cloc v 1.86  T=53.27 s (1778.9 files/s, 243942.7 lines/s)
---------------------------------------------------------------------------------------
Language                  files     blank   comment      code    scale   3rd gen. equiv
---------------------------------------------------------------------------------------
C                          42263    657323    859680   3349217 x   0.77 =     2578897.09
C++                        25705    210664    268615    946452 x   1.51 =     1429142.52
Ada                         6242    286071    379854    809978 x   0.52 =      421188.56
PO File                       42    294992    393915    808964 x   1.50 =     1213446.00
C/C++ Header                3469    139038    174678    615464 x   1.00 =      615464.00
Go                          4014     84364    133689    601891 x   2.50 =     1504727.50
D                           2907     84739    109676    478483 x   1.70 =      813421.10
Markdown                     423     48867         0    415075 x   1.00 =      415075.00
Fortran 90                  6147     29425     48956    162093 x   1.00 =      162093.00
Assembly                     595     12867     31843     61880 x   0.25 =       15470.00
XML                           92      6280       556     60475 x   1.90 =      114902.50
Windows Module Definition    164      6065        36     46385 x   1.00 =       46385.00
m4                           183      4945      2140     43608 x   1.00 =       43608.00
HTML                         125      1132       471     33078 x   1.90 =       62848.20
Expect                       377      7492     14027     30780 x   2.00 =       61560.00
reStructuredText              65     18048     14162     29674 x   1.50 =       44511.00
SVG                           48         0       126     20414 x   1.00 =       20414.00
Objective C                  528      4946      3157     16999 x   2.96 =       50317.04
make                         134      2455      1639     14438 x   2.50 =       36095.00
Fortran 77                   534      1573      6008     13460 x   0.75 =       10095.00
Bourne Shell                 107      2051      3037     10847 x   3.81 =       41327.07
Python                        43      2079      2651      8677 x   4.20 =       36443.40
Objective C++                252      2446      1596      8301 x   2.96 =       24570.96
Pascal                        27      1756     10474      6020 x   0.88 =        5297.60
MSBuild script                 7         1         0      4675 x   1.90 =        8882.50
awk                           22       568       739      4123 x   3.81 =       15708.63
Fortran 95                   116      1094      3112      3390 x   1.13 =        3830.70
Perl                          22       638       947      3003 x   4.00 =       12012.00
Bourne Again Shell            19       445       707      2081 x   3.81 =        7928.61
C#                             9       230       506       879 x   1.36 =        1195.44
TeX                            3        77       100       501 x   1.50 =         751.50
JSON                           9         0         0       437 x   2.50 =        1092.50
yacc                           1        56        40       338 x   1.51 =         510.38
PHP                            2        71         0       309 x   3.50 =        1081.50
OCaml                          1        44        29       285 x   3.00 =         855.00
Standard ML                    1        34        28       215 x   3.00 =         645.00
vim script                     4        50        71       193 x   3.00 =         579.00
CMake                          1        32        31       186 x   1.00 =         186.00
SQL                            1        61         0       182 x   2.29 =         416.78
lex                            1        34        30       154 x   1.00 =         154.00
Haskell                       38        17         0       122 x   2.11 =         257.42
NAnt script                    2        17         0       103 x   1.90 =         195.70
Windows Resource File          3         5         3        96 x   1.00 =          96.00
MATLAB                         3        13         0        46 x   4.00 =         184.00
SAS                            1        14        22        32 x   1.50 =          48.00
Brainfuck                      1         3         4        10 x   0.10 =           1.00
SWIG                           3         2         9         9 x   2.50 =          22.50
Lisp                           1         4        12         8 x   1.25 =          10.00
DOS Batch                      2         0         0         4 x   0.63 =           2.52
CSS                            1         0         0         1 x   1.00 =           1.00
---------------------------------------------------------------------------------------
SUM:                      94760   1913128   2467376   8614035 x   1.14 =     9823947.22
---------------------------------------------------------------------------------------

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)