"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of drbd-9.0.24-1.tar.gz (10 Jul 15:06, 893895 Bytes)

About: DRBD is a block device which is designed to build high availability clusters. This is done by mirroring a whole block device via (a dedicated) network. You could see it as a "network RAID-1". The driver code got integrated into the vanilla Linux kernel (>= 2.6.33). Out-of-tree module to facilitate driver updates.



Fossies downloads: /linux/miscdrbd-9.0.24-1.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 407  (406 files + 1 symlink + )

Histograms of CLOC analysis data of drbd-9.0.24-1.tar.gz (y-axes: linear scale)
Histograms of CLOC analysis data of drbd-9.0.24-1.tar.gz (y-axes: logarithm scale)

The corresponding CLOC output data:
     405 text files.
     390 unique files.                              
     164 files ignored.

github.com/AlDanial/cloc v 1.86  T=0.25 s (974.0 files/s, 399667.9 lines/s)
-------------------------------------------------------------------------------
Language          files     blank   comment      code    scale   3rd gen. equiv
-------------------------------------------------------------------------------
C                    115      6170      4629     31618 x   0.77 =       24345.86
diff                  42      4848     19722     19705 x   1.00 =       19705.00
C/C++ Header          75      1232      3437      7002 x   1.00 =        7002.00
Bourne Shell           5        86        35       405 x   3.81 =        1543.05
make                   2        76       106       388 x   2.50 =         970.00
Perl                   1        10         0       101 x   4.00 =         404.00
Markdown               2        18         0        68 x   1.00 =          68.00
Python                 1         7         3        48 x   4.20 =         201.60
-------------------------------------------------------------------------------
SUM:                243     12447     27932     59335 x   0.91 =       54239.51
-------------------------------------------------------------------------------

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)