New Post: Map the test case and the API used in program under code coverage
Hello, Now, the only solution is to run the 3 test cases one by one. It should be possible to store the location of the first caller for each line. Storing multiple callers is equivalent to count the...
View ArticleNew Post: Can you Include other files in code coverage percentages?
Hello, If I understand correctly this should already be the case. For example, consider the following 3 files.// Main.cpp int main(int argc, char **argv) { return 0; } // Bar.cpp void Bar() {}...
View ArticleNew Post: Can you Include other files in code coverage percentages?
Hello, You can also found more explanation here. I hope this will help, OpenCppCoverage
View ArticleNew Post: Looking for build instructions and 0.9.5.3 source code
Hi, I'm trying to build OpenCodeCoverage. Is there a build instruction ? Please document 3rd party versions and VS (Studio/Build) tools and steps to rebuild it. I think the head of code is not 0.9.5.3,...
View ArticleNew Post: Looking for build instructions and 0.9.5.3 source code
Hello, There is no build instruction yet. Please see here for more information. PROTOC_PATH is the path to protoc.exe available from here. I hope this will help, OpenCppCoverage
View ArticleNew Post: Coverage report for multiple arguments
I am trying to get coverage for .exe which takes multiple arguments. I am using following command: OpenCppCoverage.exe --modules modules\ MyProgram.exe arg1 arg2 arg3 but I am getting following error:...
View ArticleNew Post: Idea of attaching to a current running process
Hi , After using OpenCppCoverage for so long time, I really loved this tool so much! Now I am thinking of is it possible to add support for "Attaching a running process" for code coverage? Currently a...
View ArticleNew Post: Google Chrome blocks download of 0.9.5.3
When trying to download both the 32 and 64 bit version Google Chrome states it's malicious and blocks it
View ArticleNew Post: Idea of attaching to a current running process
Hi, First of all, thank you for using OpenCppCoverage for a long time and bringing a lot of ideas. Attaching to a current running process is something I already thought about but I do not find a use...
View ArticleNew Post: Coverage report for multiple arguments
Hello, Sorry, I did not notice your issue and not received an email notification about it. The following line should work for you:OpenCppCoverage --modules modules\ -- MyProgram.exe arg1 arg2 Note: If...
View ArticleNew Post: Google Chrome blocks download of 0.9.5.3
Hello, Thank you very much for reporting this issue. I will try to see what can I do to avoid this problem. OpenCppCoverage
View ArticleNew Post: Redirect output of application
I had the same issue with a Qt application. Running it alone provided output on stdout without problem, but I could not see it when running under OpenCppCoverage. But adding: CONFIG += console to the...
View ArticleNew Post: "Cannot Write Memory" thrown
Hi, We are currently experiencing an issue when we attempt to get code coverage on our win32 executable. This doesn't seem to affect our other similar visual studio projects and comparisons with...
View ArticleNew Post: Move project to GitHub
Hello, The repository for OpenCppCoverage plugin is here: https://github.com/OpenCppCoverage/OpenCppCoveragePlugin. I hope this will help, OpenCppCoverage
View ArticleNew Post: "Cannot Write Memory" thrown
Hello, First, make sure you run OpenCppCoverage on a non optimized build as OpenCppCoverage supports only debug build. Your error occurs when trying to register a line for coverage. The impacted module...
View ArticleNew Post: "Cannot Write Memory" thrown
HI, Thanks for the reply. Following your suggestions we were able to to locate the file that was causing the issue:[exec] [debug] Filename:...
View ArticleNew Post: Combine results from different executables
Hi there, Say I had a project which shipped with a number of samples - is it possible to combine the coverage results from all the different samples into one uber coverage list? At present, it seems...
View ArticleNew Post: Cobertura output
Hello and thank you for an extremely practical tool! We are using OpenCppCoverage to cover GTest executables in a Visual Studio Team Services environment which supports showing Cobertura reports...
View ArticleNew Post: Looking for build instructions and 0.9.5.3 source code
Thanks for the reply. The reason I need to rebuild it is, in my environment, I need to pass in a coverage result file( which may or may not be there already) to concatenate the result from current run....
View ArticleNew Post: "Cannot Write Memory" thrown
Hello, I created a project under Visual Studio 2013 and copy past your code. I ran cmd.exe with administrator rights then I ran OpenCppCoverage. I was unable to reproduce your issue. Memory address...
View Article