-
September 22nd, 2016, 09:56 AM
#1
C++ code to measure code coverage for each execution of a program.
Any help with a c++ code that calculates the percentage code coverage of a test program each time it is executed? The test program is executed multiple times each time with a different test input, and the code coverage is output to a variable after each execution.
I know there are extremely good programmers here to help.
-
September 22nd, 2016, 02:17 PM
#2
Re: C++ code to measure code coverage for each execution of a program.
Sounds like you want a Profiler.
-
September 22nd, 2016, 04:56 PM
#3
Re: C++ code to measure code coverage for each execution of a program.
Originally Posted by GCDEF
Sounds like you want a Profiler.
A profiler? Ok. Because the value of coverage output will be used to generate the next input to the test program. In order to decrease time cost of profiling, only the percentage branch coverage is required as output. Any suggestions on a c++ profiler that can be modified to provide only the percentage branch coverage as output anytime the test program is being executed?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|