JVx 2.8.5 is out and we have some Source Code statistics for you!
Our last statistics were determined for JVx 2.2. The source code grew by 50.012 lines, since 2.2. We now have 178.896 (JVx library, Swing UI, tests) compared to 128.884 in JVx 2.2. Still awesome if we compare the features of JVx with any other application framework!
Here are the actual numbers for you:
|
JVx library |
|
Swing UI |
|
LoC |
|
Type |
107.951 |
|
Code |
86.032 |
|
Comments (~ 44% of Code) |
28.282 |
|
Empty lines |
222.265 |
|
Total |
|
|
LoC |
|
Type |
41.544 |
|
Code |
22.321 |
|
Comments (~ 35% of Code) |
9.249 |
|
Empty lines |
73.114 |
|
Total |
|
|
JVx library (Test cases) |
|
|
|
LoC |
|
Type |
29.401 |
|
Code |
14.620 |
|
Comments (~ 33% of Code) |
9.649 |
|
Empty lines |
53.670 |
|
Total |
|
|
|
|
Some additional numbers:
|
Files and Tests |
|
JVx library source files |
|
825 |
Swing UI source files |
|
148 |
Test source files |
|
151 |
Total |
|
1124 |
|
|
Still a small codebase and still very easy to maintain. Here are more numbers, about testing: |
|
Unit tests (no UI, without manual perf. tests)
| |
|
1000 |
Class coverage (without UI)
| |
|
73% |
Method coverage (without UI)
| |
|
62% |
|
|
Our coverage is not as good as with 2.2 but still not bad. |
|
TOP 10 classes
Classname |
|
LoC |
DBAccess |
|
5.775 |
MemDataBook |
|
4.712 |
JVxTable |
|
2.704 |
ArrayUtil |
|
2.613 |
DBStorage |
|
2.237 |
StringUtil |
|
2.230 |
Server |
|
2.058 |
SimpleJavaSource |
|
1.583 |
PostgreSQLDBAccess |
|
1.495 |
DateUtil |
|
1.468 |
This are interesting numbers because in JVx 2.2, MemDataBook was on 1st place. We now have more code for database support than before. The newcomers are SimpleJavaSource and PostgreSQLDBAccess.
We tried to reduce complexity of DBAccess and MemDataBook, but complex things are complex. This is why we develop JVx. It makes complex things, simple.