December 2017
Beginner to intermediate
362 pages
8h 35m
English
Code coverage is the amount of code (in percentage) that is covered by your test case. The metrics that you might see in your coverage reports could be more or less as defined in the following table:
|
Type of coverage |
Description |
|
Function |
The number of functions called out of the total number of functions defined |
|
Statement |
The number of statements in the program that are truly called out of the total number |
|
Branches |
The number of branches of the control structures executed |
|
Condition |
The number of Boolean sub-expressions that are being tested for a true and a false value |
|
Line |
The number of lines of source code that are being tested out of the total number of lines present inside the code |
Read now
Unlock full access