"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of powertop-2.15.tar.gz (29 Sep 13:46, 302891 Bytes)

About: PowerTOP is a tool to diagnose issues with power consumption and power management. It also has an interactive mode where the user can experiment various power management settings.



Fossies downloads: / linux / misc / powertop-2.15.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: CLOC analysis | Meta information | Member browsing
No. of package member files: 214  (193 regular files in 21 directories)

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

The corresponding CLOC output data:
     192 text files.
     176 unique files.                              
      17 files ignored.

github.com/AlDanial/cloc v 1.94  T=0.09 s (1960.2 files/s, 677650.3 lines/s)
--------------------------------------------------------------------------------
Language           files     blank   comment      code    scale   3rd gen. equiv
--------------------------------------------------------------------------------
PO File               24      4984      5963     12686 x   1.50 =       19029.00
C++                   65      3068      1875     12213 x   1.51 =       18441.63
C                      6      1447      1133      6763 x   0.77 =        5207.51
C/C++ Header          62      1214      3027      3545 x   1.00 =        3545.00
diff                   7        96       349      1349 x   1.00 =        1349.00
Markdown               2       117         0       272 x   1.00 =         272.00
CSS                    1        37         5       221 x   1.00 =         221.00
make                   5        12         0       192 x   2.50 =         480.00
m4                     1        16         2       151 x   1.00 =         151.00
Bourne Shell           2         8        27        30 x   3.81 =         114.30
Bourne Again Shell     1         6        21        16 x   3.81 =          60.96
--------------------------------------------------------------------------------
SUM:                 176     11005     12402     37438 x   1.31 =       48871.40
--------------------------------------------------------------------------------

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)