
The result for both line and statement coverage comes always same. I didn't find any appropriate answer for this question.
If both are same, then is there any option to get only one ether line or coverage to avoid the confusion?
It can only be different of you have more than one statement on one line. Statement coverage is a more accurate indicator of coverage - line coverage is to support existing coverage tools that rely on line level info
Most helpful comment
It can only be different of you have more than one statement on one line. Statement coverage is a more accurate indicator of coverage - line coverage is to support existing coverage tools that rely on line level info