Fullscreen
[Show/Hide Right Column]

Close
noteNote
This page is to document "what Tiki should do". For feature documentation (what Tiki does), please see corresponding page on doc site

Source Lines of Code

Tiki ships with approx 1M lines of code.

The Tiki project re-uses a lot of code from various external libraries so a quick guesstimate is that less than half of the code shipped in Tiki is maintained by the Tiki community and the rest is Standing on the shoulders of giants. For example, Zend Framework (which is bundled in Tiki) is 400k+ LOCs.

We always upstream patches when we find issues. There is a discussion on how to reduce disk space.

CLOC


http://cloc.sourceforge.net/

7.0

D:\cloc>cloc-1.53.exe tiki-7.0.RC1
    8768 text files.
    8354 unique files.
    1265 files ignored.

http://cloc.sourceforge.net v 1.53  T=614.0 s (11.6 files/s, 2856.3 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
PHP                           5197         110589         346616         756290
XML                            526            820             34         239020
Javascript                     712          20156          22145         129987
CSS                            243          10637           7181          54734
HTML                           105           4795           1521          30230
SQL                            330           1035             85          13524
XSD                             12            197             74           1672
XSLT                             6            176             46            800
ASP                              1            129            347            479
Bourne Shell                     2             33             26            170
DTD                              2              0              0             82
ASP.Net                          4              0              0             61
ActionScript                     1              8             21             47
-------------------------------------------------------------------------------
SUM:                          7141         148575         378096        1227096
-------------------------------------------------------------------------------

6.3

D:\cloc>cloc-1.53.exe tiki-6.3
    8131 text files.
    7804 unique files.
    1208 files ignored.

http://cloc.sourceforge.net v 1.53  T=653.0 s (10.2 files/s, 2426.6 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
PHP                           4939         104360         331078         706592
XML                            512            565              2         237210
Javascript                     606          10802          11649          64287
CSS                            205           9618           6456          49171
HTML                            77           4263           1808          28444
SQL                            294           1001             86          12800
XSD                             12            197             74           1672
XSLT                             6            176             46            800
ASP                              1            129            347            479
Bourne Shell                     3             37             25            185
DTD                              2              0              0             82
ASP.Net                          4              0              0             61
ActionScript                     1              8             21             47
-------------------------------------------------------------------------------
SUM:                          6662         131156         351592        1101830
-------------------------------------------------------------------------------

3.8

D:\cloc>cloc-1.53.exe tikiwiki-3.8
    6297 text files.
    5978 unique files.
    1087 files ignored.

http://cloc.sourceforge.net v 1.53  T=493.0 s (10.1 files/s, 3183.4 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
PHP                           3537          86137         474385         547665
XML                            485            150            147         204961
Javascript                     563          17563          25267          95743
CSS                            161           6479           3258          35348
SQL                             95           8151            308          29780
HTML                           101           4170           1746          26088
XSLT                             8            200             53            988
Bourne Shell                     3             39             14            150
Perl                             1             26             20            135
ColdFusion                       1             24             23            101
XSD                              1             28             28             98
DTD                              2              0              0             82
ActionScript                     1              8             21             47
-------------------------------------------------------------------------------
SUM:                          4959         122975         505270         941186
-------------------------------------------------------------------------------

Zend Framework

This is

D:\cloc>cloc-1.53.exe tiki-6.3\tiki-6.3\lib\core\Zend
    2736 text files.
    2736 unique files.
       9 files ignored.

http://cloc.sourceforge.net v 1.53  T=232.0 s (11.8 files/s, 2933.1 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
XML                            475            188              0         233973
PHP                           2244          44310         200648         200024
XSD                              5            108              6           1058
SQL                              3             36             57             71
-------------------------------------------------------------------------------
SUM:                          2727          44642         200711         435126
-------------------------------------------------------------------------------

Nice to have

  • A graphical representation of LOCs over time, with some dots for releases
    • Overlay of number of active devs and commit stats would be nice... (data could be taken from Ohloh...)


Related

  • https://www.ohloh.net/p/tikiwiki/analyses/latest
    • The Ohloh stats are way off from the real stats.
      • There is a known issue with branches on Ohloh where if you use SVN, either your commit stats will be incorrect, or you LoC count is off. We chose the later.
      • Untranslated strings are managed in SVN by a script to make it easier for translators to know what to translate, but these are removed at release time to keep the downloads smaller. This artifically boosts the LoC but it's not real work to maintain.
  • http://en.wikipedia.org/wiki/Source_lines_of_code

alias


Page last modified on Wednesday 07 March, 2012 03:49:04 UTC

Search Wishes (subject only) [toggle]

Categorize Source Lines of Code

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.