User Tools

Site Tools


devel:linesofcode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
devel:linesofcode [2007/05/11 14:21]
jodal created
devel:linesofcode [2012/12/19 09:54]
morten numbers for NAV 3.13
Line 1: Line 1:
 ====== Lines of code ====== ====== Lines of code ======
  
-This wiki page gives an overall picture of the size of NAV in terms of code lines. We will try to keep this page updated as the development of NAV moves along.+This wiki page gives an overall picture of the size of NAV in terms of code lines. We will try to keep this page updated as the development of NAV moves along. ​
  
-  ​To see the language and size of the various web tools, see [[:​FrontEndTools]]+<​note>​The following things are not counted in these numbers: 
-  * To see the language, size and a further description of the back end processes, see [[:​BackEndProcesses]+  ​Cheetah or Django templates
-  * The introduction section ​of [[:DataBaseDoc]] gives an overview ​of the total number of database tables in NAV.+  * The //contrib// directory
 +  * For versions ​of NAV prior to 3.12The bundled copy of the Prefuse Java Library 
 +  * JavaScript, which apparently is not supported by SLOCCount 
 +</​note>​
  
-===== NAV 3.1 =====+  * The introduction section of the [[database]] doc gives an overview of the total number of database tables in NAV.
  
-NAV 3.1 has a total of **67475 lines of code**This divides into the following programming languages:+===== NAV 3.13.0b1 ===== 
 +^ Language ^ Lines of code ^ Percentage ^ 
 +| python ​  ​| ​        48880 |     ​99.73% | 
 +| sh       ​| ​          130 |      0.27% | 
 +^ Total    ^         49010 ^            ^
  
 +===== NAV 3.12 =====
 ^ Language ^ Lines of code ^ Percentage ^ ^ Language ^ Lines of code ^ Percentage ^
-| python ​  ​| ​        27486 |     40.74% | +| python ​  ​| ​        47704 |     88.98% | 
-| java     |         27217 |     ​40.34% | +| java     ​| ​         ​5071 |      9.46% | 
-| perl     |          ​6250 |      9.26% | +xml      ​| ​          771 |      ​1.44% | 
-php      ​| ​         ​5559 ​|      ​8.24% | +| sh       ​| ​           ​68 ​|      ​0.13% | 
-| sh       ​| ​          963 |      ​1.43% |+^ Total    ^         53614 ^            ^
  
-===== NAV 3.2.2 ===== 
  
-NAV 3.2.2 has a total of **62365 lines of code**This divides into the following programming languages:+===== Tentative numbers for NAV 3.11 ===== 
 + 
 +^ Language ^ Lines of code ^ Percentage ^ 
 +| python ​  ​| ​        42261 |     ​84.32% | 
 +| java     ​| ​         6630 |     ​13.23% | 
 +| xml      |           822 |      1.64% | 
 +| sh       ​| ​          407 |      0.81% | 
 +^ Total    ^         50120 ^            ^ 
 + 
 + 
 +===== NAV 3.10.1 ===== 
 + 
 +^ Language ^ Lines of code ^ Percentage ^ 
 +| python ​  ​| ​        41102 |     ​78.28% | 
 +| java     ​| ​         9942 |     ​18.93% | 
 +| xml      |           969 |      1.85% | 
 +| sh       ​| ​          493 |      0.94% | 
 +^ Total    ^         52506 ^            ^ 
 + 
 +:!: For some reason, SLOCcount now wants to include XML as a language in its stats. 
 + 
 +===== NAV 3.6.0 ===== 
 + 
 +^ Language ^ Lines of code ^ Percentage ^ 
 +| python ​  ​| ​        36058 |     ​76.88% | 
 +| java     ​| ​         9941 |     ​21.19% | 
 +| sh       ​| ​          904 |      1.93% | 
 +^ Total    ^         46903 ^            ^ 
 + 
 +===== NAV 3.5.5 ===== 
 + 
 +^ Language ^ Lines of code ^ Percentage ^ 
 +| python ​  ​| ​        35327 |     ​63.00% | 
 +| java     ​| ​        18624 |     ​33.21% |  
 +| perl     ​| ​         1185 |      ​2.11% | 
 +| sh       ​| ​          943 |      1.68% | 
 +^ Total    ^         56079 ^            ^ 
 + 
 +===== NAV 3.5.0b1 ===== 
 + 
 +^ Language ^ Lines of code ^ Percentage ^ 
 +| python ​  ​| ​        39572 |    65.60% | 
 +| java     ​| ​        18182 |    30.14% | 
 +| sh       ​| ​         1383 |     2.29% | 
 +| perl     ​| ​         1188 |     1.97% | 
 +^ Total    ^         60325 ^           ^ 
 + 
 +===== NAV 3.4.0 ===== 
 + 
 +^ Language ^ Lines of code ^ Percentage ^ 
 +| python ​  ​| ​        31628 |    45.84% | 
 +| java     ​| ​        27170 |    39.38% | 
 +| php      |          5558 |     8.05% | 
 +| perl     ​| ​         3457 |     5.01% | 
 +| sh       ​| ​         1181 |     1.71% | 
 +^ Total    ^         68994 ^            ^ 
 + 
 +===== NAV 3.3.0 ===== 
 + 
 +^ Language ^ Lines of code ^ Percentage ^ 
 +| python ​  ​| ​        29957 |     44.33% | 
 +| java     ​| ​        25341 |     ​37.50% | 
 +| perl     ​| ​         5942 |      8.79% | 
 +| php      |          5558 |      8.22% | 
 +| sh       ​| ​          785 |      1.16% | 
 +^ Total    ^         67583 ^            ^ 
 + 
 +===== NAV 3.2.2 =====
  
 ^ Language ^ Lines of code ^ Percentage ^ ^ Language ^ Lines of code ^ Percentage ^
Line 28: Line 102:
 | perl     ​| ​         4548 |      7.29% | | perl     ​| ​         4548 |      7.29% |
 | sh       ​| ​          623 |      1.00% | | sh       ​| ​          623 |      1.00% |
 +^ Total    ^         62365 ^            ^
 +
 +===== NAV 3.1.0 =====
 +
 +^ Language ^ Lines of code ^ Percentage ^
 +| python ​  ​| ​        27486 |     ​40.74% |
 +| java     ​| ​        27217 |     ​40.34% |
 +| perl     ​| ​         6250 |      9.26% |
 +| php      |          5559 |      8.24% |
 +| sh       ​| ​          963 |      1.43% |
 +^ Total    ^         67475 ^            ^
 +
 +===== NAV 3.0.1 =====
 +
 +^ Language ^ Lines of code ^ Percentage ^
 +| java     ​| ​        26372 |     ​43.55% |
 +| python ​  ​| ​        23976 |     ​39.59% |
 +| php      |          5556 |      9.17% |
 +| perl     ​| ​         4136 |      6.83% |
 +| sh       ​| ​          522 |      0.86% |
 +^ Total    ^         60562 ^            ^
  
 ===== Credits ===== ===== Credits =====
  
 Line code counting is done using David A. Wheeler'​s [[http://​www.dwheeler.com/​sloccount/​|SLOCCount]]. Line code counting is done using David A. Wheeler'​s [[http://​www.dwheeler.com/​sloccount/​|SLOCCount]].
- 
devel/linesofcode.txt · Last modified: 2012/12/19 10:02 by morten