This is an old revision of the document!
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. Note that the numbers does not count Cheetah nor Django templates, which is a large portion of the code base.
To see the language and size of the various web tools, see
FrontEndTools.
To see the language, size and a further description of the back end processes, see
BackEndProcesses.
The introduction section of the
database doc gives an overview of the total number of database tables in NAV.
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 |
python | 26417 | 42.36% |
java | 25219 | 40.44% |
php | 5558 | 8.91% |
perl | 4548 | 7.29% |
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
Line code counting is done using David A. Wheeler's SLOCCount.