-
Notifications
You must be signed in to change notification settings - Fork 263
Closed
Description
lcov is able to show:
- line coverage
- branch coverage
- function coverage
I understand function coverage to which percentage functions are entered and thereby tested.
From my point of view it is very helpful to be able to measure to which percentage calls to function(s) has been tested. The call coverage.
An example for the difference and for the need of this metric. Let's assume we have one function A, which calls another function B. To know that function B is entered (at least once = function coverage) is one side. But when the function B is called from 3 different locations in function A and in each of these calls a mistake can be made e.g. with parameter order there is an additional need to know whether each of the existing calls are applied = Call coverage.
Best regards
MMelzig
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels