1.0.0

Kubernetes 1.0.0 源码分析 #

https://github.com/kubernetes/kubernetes/tree/v1.0.0


代码行数 #

cloc #

AlDanial/cloc Github stars Github forks Language Last Tag Last commit

$ cloc --version
1.94

$ cloc .

    6328 text files.
    5766 unique files.
     668 files ignored.

4 errors:
Line count, exceeded timeout:  ./pkg/ui/data/swagger/datafile.go
Line count, exceeded timeout:  ./third_party/swagger-ui/swagger-ui.js
Line count, exceeded timeout:  ./third_party/swagger-ui/swagger-ui.min.js
Line count, exceeded timeout:  ./third_party/ui/bower_components/angular/angular.min.js

github.com/AlDanial/cloc v 1.94  T=28.96 s (199.1 files/s, 40061.4 lines/s)
--------------------------------------------------------------------------------
Language                      files          blank        comment           code
--------------------------------------------------------------------------------
Go                             3745          95221         115772         599870
JavaScript                      443          17244          56651          92961
JSON                            174              4              0          44954
Markdown                        393          10130              0          30592
CSS                             170           3226           1088          22298
Bourne Shell                    211           3315           5908          14438
SVG                              36              6             37          12614
HTML                             84           1556             60           6340
YAML                            222            492           1140           5434
Text                             43            859              0           4619
Protocol Buffers                 13            575           1178           1828
Bourne Again Shell               24            309            249           1613
Python                           22            301            482           1087
SaltStack                        36            124            117            983
LESS                              7            166             54            912
make                             53            267            285            602
Dockerfile                       68            196            369            508
XML                               9              0              0            213
C                                 2             27             13            175
Java                              1             18             10            126
SCSS                              2             29              0            124
CoffeeScript                      1             12              3            108
Assembly                          1             11             10             36
PHP                               1              6              0             27
Properties                        2              2              4             18
INI                               2              1              0              9
TOML                              1              0              0              3
--------------------------------------------------------------------------------
SUM:                           5766         134097         183430         842492
--------------------------------------------------------------------------------

tokei #

XAMPPRocky/tokei Github stars Language Last Tag Last commit

$ tokei -V
tokei 12.0.4 compiled with serialization support: json, cbor, yaml

$ tokei --sort code --exclude test
===============================================================================
 Language            Files        Lines         Code     Comments       Blanks
===============================================================================
 Go                   3765       803073       611213       104189        87671
 JavaScript            411       153108        88958        50674        13476
 JSON                  154        44424        44420            0            4
 CSS                   173        26388        22087         1156         3145
 Shell                 208        23742        14575         5960         3207
 SVG                    58        12895        12847           41            7
 YAML                  195         6751         5180         1132          439
 Protocol Buffers       13         3581         2220          786          575
 BASH                   21         2006         1475          245          286
 Python                 23         1886         1178          405          303
 LESS                    7         1132          912           54          166
 Makefile               50         1092          559          285          248
 Dockerfile             66         1051          491          369          191
 C                       2          215          175           13           27
 XML                     4          140          140            0            0
 Java                    1          154          126           10           18
 Sass                    3          153          124            0           29
 Autoconf                2          111          109            2            0
 CoffeeScript            1          123          108            3           12
 Assembly                1           57           36           10           11
 PHP                     1           33           27            0            6
 INI                     2           10            9            0            1
 TOML                    1            3            3            0            0
 Plain Text             44         5486            0         4626          860
-------------------------------------------------------------------------------
 HTML                   96         6606         5616           67          923
 |- CSS                 12           20           20            0            0
 |- JavaScript          16          158          122           15           21
 (Total)                           6784         5758           82          944
-------------------------------------------------------------------------------
 Markdown              396        35167            0        25424         9743
 |- BASH                27          620          573           24           23
 |- C                    1           46           29           15            2
 |- Go                  42         1941         1381          285          275
 |- HTML                 7           99           67            8           24
 |- INI                  1           10            6            2            2
 |- JavaScript           5           52           52            0            0
 |- JSON                13          741          729            0           12
 |- PHP                  1           33           27            0            6
 |- Python               1           12            7            1            4
 |- Shell               36          828          791            7           30
 |- YAML                23         1064         1024           40            0
 (Total)                          40613         4686        25806        10121
===============================================================================
 Total                5698      1135011       817416       195848       121747
===============================================================================

本文访问量

本站总访问量

本站总访客数