Code Coverage is used as a measure of what ?
a. Defects
b. Trends analysis
c. Test Effectiveness
d. Time Spent Testing
Code Coverage is used as a measure of what ?
a. Defects
b. Trends analysis
c. Test Effectiveness
d. Time Spent Testing
Regards,
Brijesh Jain
---------------------------------------------------------
Connect with me on Skype: jainbrijesh
Google Plus : jainbrijeshji
Hi Brijesh,
Code Coverage can be used a measure of Test Effectiveness.
Reason
Code Coverage basically describes the degree to which the source code of a program has been tested. Since we cover Function Coverage, Decision Coverage, Condition Coverage, Path Coverage as well as Statement Coverage, I suppose it would show if our testing process missed out on some part of the code.
Maybe test scenarios or testcases did not handle the branching of code which occurs on particular conditions. This would reduce the Test Effectiveness quotient measured using Function Point Analysis.
Cheers.....
Hi,
The answer is c. Test Effectiveness. Code coverage is used to measure how effective the testing is done.
Basically Code coverage is a activity done in the White Box Testing. While doing code coverage the following are validated
i. All the statements in the code are executed atleast once
ii. All the Decision statements are executed and covered
iii. All the conditions are tested
Code coverage is used as a measure of Test effectiveness bcoz it involves designing and executing test cases and finding out the percentage of code that is covered by testing.