"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of syncthing-source-v1.7.1.tar.gz (11 Jul 20:19, 11594346 Bytes)

About: Syncthing is a file synchronization client/server application (written in Go) that exchanges your data across your machines (without using the cloud).



Fossies downloads: /linux/miscsyncthing-source-v1.7.1.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 3261  (2828 files within 433 directories)

Histograms of CLOC analysis data of syncthing-source-v1.7.1.tar.gz (y-axes: linear scale)
Histograms of CLOC analysis data of syncthing-source-v1.7.1.tar.gz (y-axes: logarithm scale)

The corresponding CLOC output data:
    2786 text files.
    2680 unique files.                              
     413 files ignored.

github.com/AlDanial/cloc v 1.86  T=3.17 s (753.4 files/s, 234096.2 lines/s)
--------------------------------------------------------------------------------
Language           files     blank   comment      code    scale   3rd gen. equiv
--------------------------------------------------------------------------------
Go                   1894     58786     59524    438399 x   2.50 =     1095997.50
JavaScript             38      7627     21775     35613 x   1.48 =       52707.24
C                      39      6876      8345     34173 x   0.77 =       26313.21
JSON                   35         0         0     13898 x   2.50 =       34745.00
Assembly               70      1517      2193     12189 x   0.25 =        3047.25
CSS                    15       281       235     10770 x   1.00 =       10770.00
Markdown               83      1676         0      5518 x   1.00 =        5518.00
C/C++ Header           38      1382      3865      4153 x   1.00 =        4153.00
HTML                   35       166        60      3433 x   1.90 =        6522.70
SVG                    10         0         6      3234 x   1.00 =        3234.00
XML                    25        15         8       953 x   1.90 =        1810.70
YAML                   49       175        46       927 x   0.90 =         834.30
Bourne Shell           21       140       355       797 x   3.81 =        3036.57
Protocol Buffers        8       146       132       544 x   2.00 =        1088.00
Bourne Again Shell      7        61        78       433 x   3.81 =        1649.73
make                    9        64       157       210 x   2.50 =         525.00
TOML                    4        15        20        53 x   2.76 =         146.28
Dockerfile              2        15         0        27 x   2.00 =          54.00
PowerShell              1         3         0        17 x   3.00 =          51.00
Ruby                    1         1         1         7 x   4.20 =          29.40
DOS Batch               1         0         0         5 x   0.63 =           3.15
--------------------------------------------------------------------------------
SUM:                2385     78946     96800    565353 x   2.21 =     1252236.03
--------------------------------------------------------------------------------

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)