i need some help understanding and right interpreting the gcov results.
Lines executed: 25% of 24 Branches executed:30% of 20 Taken at least once: 15% of 20 Calls executed: 50% of 2
Lines executed gives me the Statement Coverage. Branches executed gives me the decision coverage and condition coverage
Am I right if i am saying that 100% Branch coverage implies 100% Decision Coverage and Condition Coverage?
Because my understanding is that the if statement if(a<1 || b>2){...}else{...} has not two branches but 4 because i have two conditions. That means if i am going through all 4 branches i should have the condition coverage or does the branch coverage provides no information about the condition coverage
Thanks for your help.
Cheers