Skip to content

Instantly share code, notes, and snippets.

@stijlist
Last active December 16, 2015 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stijlist/5407677 to your computer and use it in GitHub Desktop.
Save stijlist/5407677 to your computer and use it in GitHub Desktop.
WebKit / WebCore Complexity
[code-reads]% cd ex-vi ○
[ex-vi]% cloc . ± master f027810
59 text files.
56 unique files.
47 files ignored.
http://cloc.sourceforge.net v 1.58 T=1.0 s (50.0 files/s, 28714.0 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C 36 1863 7013 16639
C/C++ Header 11 123 1205 1276
make 2 37 256 179
Bourne Shell 1 2 79 42
-------------------------------------------------------------------------------
SUM: 50 2025 8553 18136
-------------------------------------------------------------------------------
[ex-vi]% ± master f027810
[~]% cd webkit ○
[webkit]% ls ± master bfd5830
autogen.sh CMakeLists.txt GNUmakefile.am Makefile.shared Source WebKit.pro wscript
ChangeLog configure.ac LayoutTests ManualTests Tools WebKit.xcworkspace
ChangeLog-2012-05-22 Examples Makefile PerformanceTests WebKitLibraries Websites
[webkit]% cd Source/WebCore/rendering ± master bfd5830
[rendering]% cloc . ± master bfd5830
467 text files.
467 unique files.
0 files ignored.
http://cloc.sourceforge.net v 1.58 T=2.0 s (233.5 files/s, 69834.0 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C++ 214 15659 12767 74978
C/C++ Header 251 6468 7118 20349
Objective C++ 2 397 121 1811
-------------------------------------------------------------------------------
SUM: 467 22524 20006 97138
-------------------------------------------------------------------------------
[rendering]% .. ± master bfd5830
[WebCore]% # shit ± master bfd5830
zsh: bad pattern: #
[WebCore]% cloc . ± master bfd5830
7559 text files.
7534 unique files.
240 files ignored.
http://cloc.sourceforge.net v 1.58 T=41.0 s (178.3 files/s, 34751.5 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C++ 2902 121437 107026 565596
C/C++ Header 3183 58710 104942 186253
Javascript 260 17760 25555 104341
Objective C++ 188 8575 6641 38107
IDL 659 2325 0 26936
Perl 26 2502 1298 12633
CSS 66 2343 1439 11374
make 5 144 92 7740
CMake 2 200 18 3111
Python 6 818 933 2477
C 2 189 142 1018
HTML 3 131 48 980
yacc 1 45 27 482
Bourne Shell 5 26 93 86
Objective C 2 19 48 44
Ruby 1 9 25 24
Assembly 1 11 20 19
-------------------------------------------------------------------------------
SUM: 7312 215244 248347 961221
-------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment