- check for higher level types of errors (bug patterns)
== Automated tests
- decrease the effort for running and re-running tests
- there are several types metrics that can be used to measure test coverage
== JaCoCo
- Java Code Coverage (JaCoCo)
- popular tool for measuring code coverage in Java projects
- measures several metrics
== JaCoCo metrics
- Instructions
- Branches (exception handling is excluded)
- Cyclomatic Complexity - "According to McCabe1996 cyclomatic complexity is the minimum number of paths that can, in (linear) combination, generate all possible paths through a method."