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

Can you explain function points?

907


Hi Frnds, this is Aman.. can anybody tell me plz what kind of QA Interview questions are asked by IDS Infotech Ltd., Chandigarh? I have lil bit experience only in Manual Testing.. Plz answer my question as soon as possible.. Thnx in advance..

2202


Hello all, Can someone tell me what kind of questions i can expect from hiring manager along with two team members on final face to face interview for manual testing position.. I am switching from BA to QA as its better on benefits etc.. Thanks in advance

1730


Hi, Can anyone suggest a test case writing technique for the below scenario. 1. User draws a lines on the image 2. User selects the lines and right clicks ( Measuremnts like distance between the start and the end point, coordinates of start point and coordinates of end point) 3. User selects one of the measurement Measurement is displayed Just want to highlight, i am looking for a test case writing technique for above scenario.

1833


what types of bugs will we find out in banking projects

2036


Hi i am looking for Test Engineer Job, i have done the course, but i don't have work experience on it, Is it So important to have real time Exp or knowledge is enough? and please let me know like how i can improve for the interview. You can send me a mail on this id: rashmi_vastred@yahoo.co.in

1841


Hi Friends, Just One Month Back I was Join in Small Company as a Testing Eng.I have Six Month Exp. In this Company all my team memb.r fresher & PM give responsibility on us to prepare all require QC doc. for our new project.So I need ur help in this matter .How Can I start my work and Which Doc.I start to collect & From Where I get Detail Information all abt these thing. Thanks to all friends who give reply to this. Suyog

1696


can anyone tell me the questions that can be posed in an interview for a 5 year experienced person in manual testing

1809


What is the different between SIT and UIT?

1133


Work flow in testing in your company?

1573


How much the bug is affecting the functionality of the application?

848


What is the difference between coupling and cohesion?

912


How do you estimate white box testing?

897


any one please send me any test case examples with tabular columns in manual testing

1993


What makes a good test engineer?

974