effectivejava
effectivejava copied to clipboard
Increase code coverage
Running lein cloverage I get this:
Produced output in /home/federico/repos/effectivejava/target/coverage .
HTML: file:///home/federico/repos/effectivejava/target/coverage/index.html
| :name | :forms_percent | :lines_percent |
|-------------------------------+----------------+----------------|
| app.cli | 63.27 % | 33.33 % |
| app.core | 12.45 % | 27.12 % |
| app.interactive | 10.39 % | 21.79 % |
| app.itemsOnLifecycle | 72.66 % | 81.37 % |
| app.jarloading | 97.20 % | 96.88 % |
| app.javaparser.navigation | 63.34 % | 94.12 % |
| app.javaparser.parsing | 98.68 % | 100.00 % |
| app.linter | 17.44 % | 45.83 % |
| app.model.javaparser | 61.66 % | 78.17 % |
| app.model.javassist | 90.91 % | 66.67 % |
| app.operations | 60.80 % | 82.14 % |
| app.symbol_solver.scope | 97.85 % | 98.89 % |
| app.symbol_solver.type_solver | 90.91 % | 100.00 % |
| app.utils | 92.96 % | 94.44 % |
Files with 100% coverage: 2
Forms covered: 59.73 %
Lines covered: 75.79 %
We should first of all organize better the tests (especially w.r.t the new modules for symbol resolution) and then focus on improving code coverage where possible. I would try to track progress in this issue.
app.cli is now covered
Coverage is growing:
| :name | :forms_percent | :lines_percent |
|-------------------------------+----------------+----------------|
| app.core | 48.62 % | 50.79 % |
| app.find | 88.67 % | 95.12 % |
| app.interactive | 23.08 % | 45.57 % |
| app.itemsOnLifecycle | 72.66 % | 81.37 % |
| app.jarloading | 97.20 % | 96.88 % |
| app.javaparser.navigation | 84.16 % | 96.88 % |
| app.javaparser.parsing | 98.68 % | 100.00 % |
| app.linter | 17.44 % | 45.83 % |
| app.model.javaparser | 64.46 % | 78.48 % |
| app.model.javassist | 90.91 % | 66.67 % |
| app.model.protocols | 92.77 % | 82.86 % |
| app.model.reflection | 90.91 % | 80.00 % |
| app.operations | 60.80 % | 82.14 % |
| app.symbol_solver.scope | 96.94 % | 97.06 % |
| app.symbol_solver.type_solver | 73.49 % | 86.21 % |
| app.utils | 92.96 % | 94.44 % |
Files with 100% coverage: 2
Forms covered: 68.26 %
Lines covered: 80.82 %