This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
devel:linesofcode [2012/01/30 14:39] morten Add 3.10.1 stats |
devel:linesofcode [2012/12/18 11:11] morten [Lines of code] |
||
---|---|---|---|
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. Note that the numbers does not count Cheetah nor Django templates, which is a large portion of the code base. Also, the contrib tools and the Prefuse Java library bundled with NAV (it contains more Java code (~40k LOC) than NAV itself) are not counted. | + | 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. Also, the contrib tools and, for versions prior to 3.12, the Prefuse Java library bundled with NAV (it contains more Java code (~40k LOC) than NAV itself), are not counted. |
- | * 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. | * The introduction section of the [[database]] doc gives an overview of the total number of database tables in NAV. | ||
+ | |||
+ | ===== NAV 3.13.0b1 ===== | ||
+ | ^ Language ^ Lines of code ^ Percentage ^ | ||
+ | | python | 48880 | 99.73% | | ||
+ | | sh | 130 | 0.27% | | ||
+ | ^ Total ^ 49010 ^ ^ | ||
+ | |||
+ | |||
+ | ===== 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 ===== | ===== NAV 3.10.1 ===== | ||
^ Language ^ Lines of code ^ Percentage ^ | ^ Language ^ Lines of code ^ Percentage ^ | ||
- | | python | 43180 | 79.11% | | + | | python | 41102 | 78.28% | |
- | | java | 9942 | 18.21% | | + | | java | 9942 | 18.93% | |
- | | xml | 969 | 1.78% | | + | | xml | 969 | 1.85% | |
- | | sh | 493 | 0.90% | | + | | sh | 493 | 0.94% | |
- | ^ Total ^ 54584 ^ ^ | + | ^ Total ^ 52506 ^ ^ |
:!: For some reason, SLOCcount now wants to include XML as a language in its stats. | :!: For some reason, SLOCcount now wants to include XML as a language in its stats. | ||
Line 97: | Line 112: | ||
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]]. | ||
- |