"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of gcc-12.3.0.tar.xz (8 May 14:47, 85491976 Bytes)

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



Fossies downloads: / linux / misc / gcc-12.3.0.tar.xz  (tar.gz|tar.bz2|zip)
Fossies services: CLOC analysis | Meta information | Member browsing
No. of package member files: 121638  (116460 regular files in 5178 directories)

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

The corresponding CLOC output data:
  115825 text files.
  111049 unique files.                              
    5360 files ignored.

github.com/AlDanial/cloc v 1.96  T=36.87 s (3009.6 files/s, 404379.9 lines/s)
---------------------------------------------------------------------------------------
Language                  files     blank   comment      code    scale   3rd gen. equiv
---------------------------------------------------------------------------------------
C++                       29970    557898    643779   2790836 x   1.51 =     4214162.36
C                         48021    385581    568745   1919084 x   0.77 =     1477694.68
PO File                      44    322313    428815    889203 x   1.50 =     1333804.50
Ada                        6618    294254    399547    842642 x   0.52 =      438173.84
Go                         5267    100770    160033    706570 x   2.50 =     1766425.00
C/C++ Header               3987    151815    195596    687683 x   1.00 =      687683.00
D                          4517    116001    159539    681801 x   1.70 =     1159061.70
Markdown                    461     52425         0    451808 x   1.00 =      451808.00
Text                        990     12505         0    424267 x   0.50 =      212133.50
Fortran 90                 7170     37478     66607    204524 x   1.00 =      204524.00
Assembly                    615     13356     33209     64307 x   0.25 =       16076.75
XML                          93      6298       557     60949 x   1.90 =      115803.10
Windows Module Definition   173      7589       423     53569 x   1.00 =       53569.00
m4                          189      5347      2266     46538 x   1.00 =       46538.00
Expect                      408      8248     15651     34195 x   2.00 =       68390.00
HTML                        124      1077       431     33266 x   1.90 =       63205.40
reStructuredText             69     18408     14504     29916 x   1.50 =       44874.00
SVG                          48         0       126     20414 x   1.00 =       20414.00
Objective-C                 544      5054      3359     17399 x   2.96 =       51501.04
make                        139      2637      1713     15514 x   2.50 =       38785.00
Logos                       193      2619       974     15351 x   2.00 =       30702.00
Fortran 77                  555      1658      6238     14012 x   0.75 =       10509.00
Bourne Shell                116      2181      3152     12002 x   3.81 =       45727.62
Python                       53      2460      3318     10014 x   4.20 =       42058.80
Objective-C++               276      2622      1844      8923 x   2.96 =       26412.08
Pascal                       30      1762     11280      5786 x   0.88 =        5091.68
awk                          23       644       760      4780 x   3.81 =       18211.80
MSBuild script                7         1         0      4675 x   1.90 =        8882.50
Fortran 95                  122      1219      3437      3368 x   1.13 =        3805.84
Perl                         22       637       958      3180 x   4.00 =       12720.00
CSV                           8         0         0      2159 x   0.10 =         215.90
Bourne Again Shell           18       433       707      1990 x   3.81 =        7581.90
C#                            9       230       506       879 x   1.36 =        1195.44
Visual Studio Solution        6         5         5       645 x   1.00 =         645.00
TeX                           4        79       112       559 x   1.50 =         838.50
JSON                         11         0         0       493 x   2.50 =        1232.50
yacc                          1        56        40       338 x   1.51 =         510.38
CMake                         3        59        44       310 x   1.00 =         310.00
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
SQL                           1        61         0       182 x   2.29 =         416.78
lex                           1        34        30       157 x   1.00 =         157.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         7 x   1.25 =           8.75
DOS Batch                     2         0         0         4 x   0.63 =           2.52
CSS                           1         0         0         1 x   1.00 =           1.00
---------------------------------------------------------------------------------------
SUM:                     110969   2116088   2728483  10065720 x   1.26 =    12685828.98
---------------------------------------------------------------------------------------

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)