"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of numpy-1.19.0.tar.gz (20 Jun 21:13, 6770599 Bytes)

About: NumPy is the fundamental package for scientific computing with Python.



Fossies downloads: /linux/miscnumpy-1.19.0.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 1477  (1350 files within 127 directories)

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

The corresponding CLOC output data:
    1275 text files.
    1270 unique files.                              
     131 files ignored.

github.com/AlDanial/cloc v 1.86  T=1.94 s (600.6 files/s, 320803.2 lines/s)
-------------------------------------------------------------------------------
Language          files     blank   comment      code    scale   3rd gen. equiv
-------------------------------------------------------------------------------
C                     95     38386     67066    152138 x   0.77 =      117146.26
Python               441     38423     74910    118612 x   4.20 =      498170.40
reStructuredText     344     16256     11736     43772 x   1.50 =       65658.00
C/C++ Header         115      2339      3591     13205 x   1.00 =       13205.00
CSS                    5        75       108      8810 x   1.00 =        8810.00
LESS                  48       838       961      4524 x   1.50 =        6786.00
Cython                17      2371      6555      4265 x   3.80 =       16207.00
SVG                    1         0         0      3640 x   1.00 =        3640.00
SWIG                   9       350       550      2749 x   2.50 =        6872.50
C++                   10        68       165       871 x   1.51 =        1315.21
make                   8       112        81       501 x   2.50 =        1252.50
HTML                   8        22         0       429 x   1.90 =         815.10
JavaScript             2        53       119       387 x   1.48 =         572.76
Markdown              10        95         0       295 x   1.00 =         295.00
Fortran 90            18        73        37       293 x   1.00 =         293.00
DOS Batch              1        29         1       212 x   0.63 =         133.56
Fortran 77            14         4        44       200 x   0.75 =         150.00
Bourne Shell           5        49        65       191 x   3.81 =         727.71
sed                    1         0        12       140 x   4.00 =         560.00
diff                   6         4       104        86 x   1.00 =          86.00
JSON                   1        17         0        68 x   2.50 =         170.00
INI                    2         9         0        55 x   1.00 =          55.00
TOML                   1        14         3        54 x   2.76 =         149.04
YAML                   1         0         2        28 x   0.90 =          25.20
-------------------------------------------------------------------------------
SUM:               1163     99587    166110    355525 x   2.09 =      743095.24
-------------------------------------------------------------------------------

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)