what is test coverage?

Answer Posted / kavita

Test coverage is the degree to which a program has been
tested. There are 5 kinds of Test coverage
1. Function coverage - Has each function in the program
been executed?
2. Statement coverage - Has each line of the source code
been executed?
3. Condition coverage (also known as Branch coverage) - Has
each evaluation point (such as a true/false decision) been
executed?
4. Path coverage - Has every possible route through a given
part of the code been executed?
5. Entry/exit coverage - Has every possible call and return
of the function been executed?

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi there, I am new to the world of testing. Is there any place where I can have a look at an actual specification documents or test plans or test cases. This will help me in generating a level of confidence. Looking forward to your replies

1442


IF ASCII_CODE_OF_ENTERED_CHAR is less than 44 THEN reject it ELSE IF ASCII_CODE_OF_ENTERED_CHAR is greater than 56 THEN reject it ELSE it's a digit, so accept it Which one of the following sets of ASCII codes do you use to test the sample code above WITHOUT redundant coverage?

9069


Tell me a critical defect in which your Client,PM,PL appreciate on you

1469


What exactly is quality control?

709


How does quality control differ from quality assurance?

619






What are the advantages of waterfall model?

654


difference between change management and configuration management

1565


can anyone tell me few critical bugs in ecommerce project.

5571


Write all combinations of test cases for calculater on + symbel

1792


What is CVS and why it is used?

1362


Is an "A fast database retrieval rate" a testable requirement?

1510


What do you mean by Unit Testing, Integration Testing, System Testing, and User Acceptance Testing and when do you do them?

7055


Explain the components of a test plan?

673


In a systen design to work out the tax to be paid: An employee has Rs 4000 of salary tax free. the next Rs 1500 is taxed at 10% , the next Rs 28000 is taxed at 22% , any further amount is taxed at 40% , the nearest whole Rs, which of these is a valid boundary value analysis test case ???? a)Rs 1500 b)Rs 32001 c)Rs 33501 d) Rs 28000.

4393


What is test out put?

1591