This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
devel:linesofcode [2012/12/18 11:11] morten [Lines of code] |
devel:linesofcode [2012/12/19 10:02] morten [Tentative numbers for NAV 3.11] |
||
---|---|---|---|
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, 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. | + | 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>The following things are not counted in these numbers: | ||
+ | * Cheetah or Django templates. | ||
+ | * The //contrib// directory. | ||
+ | * For versions of NAV prior to 3.12: The bundled copy of the Prefuse Java Library | ||
+ | * JavaScript, which apparently is not supported by SLOCCount | ||
+ | </note> | ||
* 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. | ||
Line 10: | Line 17: | ||
| sh | 130 | 0.27% | | | sh | 130 | 0.27% | | ||
^ Total ^ 49010 ^ ^ | ^ Total ^ 49010 ^ ^ | ||
+ | |||
+ | ===== NAV 3.12 ===== | ||
+ | ^ Language ^ Lines of code ^ Percentage ^ | ||
+ | | python | 47704 | 88.98% | | ||
+ | | java | 5071 | 9.46% | | ||
+ | | xml | 771 | 1.44% | | ||
+ | | sh | 68 | 0.13% | | ||
+ | ^ Total ^ 53614 ^ ^ | ||
- | ===== Tentative numbers for NAV 3.11 ===== | + | ===== NAV 3.11 ===== |
^ Language ^ Lines of code ^ Percentage ^ | ^ Language ^ Lines of code ^ Percentage ^ | ||
- | | python | 42261 | 84.32% | | + | | python | 45580 | 85.44% | |
- | | java | 6630 | 13.23% | | + | | java | 6880 | 12.90% | |
- | | xml | 822 | 1.64% | | + | | xml | 822 | 1.54% | |
- | | sh | 407 | 0.81% | | + | | sh | 68 | 0.13% | |
- | ^ Total ^ 50120 ^ ^ | + | ^ Total ^ 53350 ^ ^ |