OpenCppCoverage

Results 85 comments of OpenCppCoverage

Hello, OpenCppCoverage assumes the source files are using the Windows default encoding. I will try to see if I can support UTF8 for source files. OpenCppCoverage

Hello, Does this [FAQ](https://github.com/OpenCppCoverage/OpenCppCoverage/wiki/FAQ#network-path-special-considerationsttps://github.com/OpenCppCoverage/OpenCppCoverage/wiki/FAQ#network-path-special-considerations) help? OpenCppCoverage

Hello, I recommend using OpenCppCoverage command line at least for the investigation. OpenCppCoverage has the same requirements as a debugger. Can you check whether you can put a breakpoint and...

Hello, Is your program compiled with optimization enabled? If yes, you can find more information at [Release versus Debug](https://github.com/OpenCppCoverage/OpenCppCoverage/wiki#release-versus-debug). OpenCppCoverage should compute correctly the code coverage for a line as...

Hello, I did a quick test and your scenario seems to work when using `--input_coverage`. See [Merging coverage: --input_coverage / --export_type:binary](https://github.com/OpenCppCoverage/OpenCppCoverage/wiki#merging-coverage---input_coverage----export_typebinary) for more information. I hope it helps, OpenCppCoverage

Hi, Consider the solution: [ConsoleApplication.zip](https://github.com/OpenCppCoverage/OpenCppCoverage/files/4533028/ConsoleApplication.zip) `ConsoleApplication` calls `foo();` and `ConsoleApplication2` calls `bar();` and both `foo` and `bar` are marked as covered when using [Merging coverage: --input_coverage / --export_type:binary](https://github.com/OpenCppCoverage/OpenCppCoverage/wiki#merging-coverage---input_coverage----export_typebinary). ![image](https://user-images.githubusercontent.com/19760133/80281193-c652ec00-8709-11ea-8e9a-beb7e16d7c1a.png) @Flamefire:...

Hi @zeetherocker, As far as I know, a static library is only used during the compilation and the link phases and there is no trace of it inside the executable....

Hello, Can you try with the latest version of the plugin ([0.9.7](https://marketplace.visualstudio.com/items?itemName=OpenCppCoverage.OpenCppCoveragePlugin)). I fixed an issue when the plugin R Tools is installed, maybe there were similar issues with other...

Hello, Sorry for my late reply. For x64, you need to add the flag `--cover_children`. See [here](https://github.com/OpenCppCoverage/OpenCppCoverage/wiki/FAQ#how-to-run-opencppcoverage-with-vstestconsoleexe) for more information. I hope it helps, OpenCppCoverage

Hello, Does [Coverage report is empty](https://github.com/OpenCppCoverage/OpenCppCoverage/wiki/FAQ#coverage-report-is-empty) help?