Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase code coverage #60

Open
ftomassetti opened this issue May 12, 2015 · 2 comments
Open

Increase code coverage #60

ftomassetti opened this issue May 12, 2015 · 2 comments

Comments

@ftomassetti
Copy link
Owner

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.

@ftomassetti
Copy link
Owner Author

app.cli is now covered

@ftomassetti
Copy link
Owner Author

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 %

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant