"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of opensips-3.0.3.tar.gz (30 Jun 13:03, 6241407 Bytes)

About: OpenSIPS is a multi-functional, multi-purpose signaling SIP Server (Session Initiation Protocol). It can act as SIP Router/Switch, SIP Registrar, Application Server, Redirect Server, Load Balancer / Dispatcher, Back-to-Back User Agent, Presence Server, IM Server, Session Border Controller, SIP Front-End, NAT traversal Server, IP Gateway (SMS, XMPP) and others.



Fossies downloads: /linux/miscopensips-3.0.3.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 3921  (3489 files within 432 directories)

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

The corresponding CLOC output data:
    3441 text files.
    3246 unique files.                              
     595 files ignored.

github.com/AlDanial/cloc v 1.86  T=1.94 s (1470.6 files/s, 372068.0 lines/s)
--------------------------------------------------------------------------------
Language           files     blank   comment      code    scale   3rd gen. equiv
--------------------------------------------------------------------------------
C                     831     67376     55950    341722 x   0.77 =      263125.94
XML                   666      9251      1096    128040 x   1.90 =      243276.00
C/C++ Header          877     14177     31567     43479 x   1.00 =       43479.00
SQL                   162       348         6      4433 x   2.29 =       10151.57
make                  172       841      1072      2940 x   2.50 =        7350.00
yacc                    1       165        97      2729 x   1.51 =        4120.79
Bourne Shell           61       787       954      2457 x   3.81 =        9361.17
Perl                   37       689       705      1574 x   4.00 =        6296.00
XSLT                   12       219       449      1475 x   1.90 =        2802.50
Python                  4       287       351      1200 x   4.20 =        5040.00
m4                      6       209         0       979 x   1.00 =         979.00
lex                     1        67        72       812 x   1.00 =         812.00
PHP                     4        53        79       597 x   3.50 =        2089.50
CSS                     1        43         5       242 x   1.00 =         242.00
Markdown                5        55         0       179 x   1.00 =         179.00
DTD                     2        89        76       171 x   1.90 =         324.90
Bourne Again Shell      1        14        25        82 x   3.81 =         312.42
vim script              1        13        21        70 x   3.00 =         210.00
HTML                    2         9         2        66 x   1.90 =         125.40
JSON                    1         5         0        47 x   2.50 =         117.50
YAML                    1         0         0        47 x   0.90 =          42.30
--------------------------------------------------------------------------------
SUM:                2848     94697     92527    533341 x   1.13 =      600436.99
--------------------------------------------------------------------------------

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)