On each line of code containing some boolean expressions, the branch coverage simply answers the following question: 'Has each boolean expression been evaluated both to true and false?'. This is the density of possible branches in flow control structures that have been followed.
It is a mix of Line coverage and Branch coverage. Its goal is to provide an even more accurate answer to the following question: 'How much of the source code has been covered by the unit tests?".
On a given line of code, Line coverage simply answers the following question: 'Has this line of code been executed during the execution of the unit tests?'. Tis is the density of covered lines:
Asserts per Test
The Cyclomatic Complexity is...
|Lines||lines||Number of carriage returns.||All|
|XXX||xxxx||blabla||All but Cobol|