top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How does a coverage tool work ?

+2 votes
289 views
How does a coverage tool work ?
posted Dec 9, 2014 by Neeraj Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Functionality of any code coverage tool is very simple. While executing binary code coverage tool runs simultaneously. Once the execution of binary finishes, code coverage tool generates report and show how many lines or statements have been covered either in form of % or actual lines. A code coverage tool usually covers following things:
1. Function coverage.
2. Statement coverage.
3. Branch coverage.
4. Condition coverage.
I have used gcov tool in my project. Code coverage is also being used for software quality metrics. Every company follow up its own methodology and quality metrics.

answer Dec 9, 2014 by Vikram Singh
Similar Questions
+1 vote

Sometime we download binary/libraries from customer site or public site and suppose it has license of 6 months. After 6 months it stop working with error "license has been expired". I want to know how library/binary tracks the license date ?

...