"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of opencv-4.5.1.tar.gz (21 Dec 21:01, 88245766 Bytes)

About: OpenCV (Open Source Computer Vision) is a library of programming functions for real time computer vision (for e.g. for human-computer interaction (HCI), object identification, face and gesture recognition, motion tracking, ...).



Fossies downloads: /linux/miscopencv-4.5.1.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 8087  (6651 files within 1436 directories)

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

The corresponding CLOC output data:
    5352 text files.
    5284 unique files.                              
     240 files ignored.

github.com/AlDanial/cloc v 1.88  T=6.53 s (783.7 files/s, 408654.4 lines/s)
---------------------------------------------------------------------------------------
Language                  files     blank   comment      code    scale   3rd gen. equiv
---------------------------------------------------------------------------------------
XML                         139       505     57334    674034 x   1.90 =     1280664.60
C++                        1582    112835     78418    644871 x   1.51 =      973755.21
C/C++ Header               1438     71434    124755    362171 x   1.00 =      362171.00
C                           366     30845     43200    194080 x   0.77 =      149441.60
YAML                          6        12        22     32390 x   0.90 =       29151.00
Markdown                    316     10125         0     31927 x   1.00 =       31927.00
Python                      280      7052      5061     29630 x   4.20 =      124446.00
Java                        199      5909      2440     25072 x   1.36 =       34097.92
OpenCL                      109      3691      3974     22885 x   1.50 =       34327.50
CMake                       247      3304      3576     20246 x   1.00 =       20246.00
HTML                        102       701        28      9718 x   1.90 =       18464.20
Objective-C++                63      2155      1040      9143 x   2.96 =       27063.28
JavaScript                   37       954       714      5640 x   1.48 =        8347.20
SVG                           4         4         4      5556 x   1.00 =        5556.00
Swift                        30      1694       217      5537 x   2.50 =       13842.50
CUDA                         31      1272       823      4907 x   1.00 =        4907.00
JSON                         27         1         0      2389 x   2.50 =        5972.50
XAML                         20       182      1202      2097 x   1.90 =        3984.30
TeX                           4        16         0      1446 x   1.50 =        2169.00
Protocol Buffers             10       317      1241      1165 x   2.00 =        2330.00
GLSL                         11        54         8       680 x   2.00 =        1360.00
C#                           11       142       307       599 x   1.36 =         814.64
Perl                          2        30         2       496 x   4.00 =        1984.00
MSBuild script                3         0        21       479 x   1.90 =         910.10
diff                         21       205       564       470 x   1.00 =         470.00
Maven                         3         3         2       435 x   1.90 =         826.50
DOS Batch                     6        74         2       430 x   0.63 =         270.90
Bourne Shell                 13        90        84       372 x   3.81 =        1417.32
CSS                           4        45         3       295 x   1.00 =         295.00
PowerShell                    1        60        46       277 x   3.00 =         831.00
Assembly                      1        26        37       190 x   0.25 =          47.50
Objective-C                   3        60        38       184 x   2.96 =         544.64
Bourne Again Shell            4        16        77       148 x   3.81 =         563.88
Ant                           3        26         0       110 x   1.90 =         209.00
Scala                         5        23        41        95 x   4.10 =         389.50
make                          6        18         4        67 x   2.50 =         167.50
Gradle                        1         9         0        52 x   4.00 =         208.00
HLSL                          2        12        13        39 x   2.00 =          78.00
Clojure                       3         4         3        30 x   1.25 =          37.50
Prolog                        3        11         0        29 x   1.25 =          36.25
Dockerfile                    1         2         0        11 x   2.00 =          22.00
INI                           1         0         0        11 x   1.00 =          11.00
IDL                           1         2         0        10 x   3.80 =          38.00
Windows Module Definition     1         0         0         4 x   1.00 =           4.00
---------------------------------------------------------------------------------------
SUM:                       5120    253920    325301   2090417 x   1.50 =     3144400.04
---------------------------------------------------------------------------------------

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)