Wim Leflere

Results 10 comments of Wim Leflere

When you click on one of the table headers it will sort the rows based on coverage percentage, nr of lines or filename. This allows you to quickly find the...

I made the first row static so it will not be sorted. I added the 'covered lines' and 'uncovered lines' columns, to quickly find the file with the worst coverage.

> I have the same issue using OpenCppCoverage on CI machines: > > 19 minutes with coverage: https://github.com/MIPT-ILab/mipt-mips/runs/1457808597 > 2 seconds without: https://github.com/MIPT-ILab/mipt-mips/runs/1457808817 The test run without coverage seems to...

Are you passing a module name as a command line argument? That's normally the cause for 'Cannot find the name of the module'. Does the issue still occur when you...

I had a look at our test suite and the managed tests are filtered out with the `sources` command line argument. When I try to execute the managed test I...

Maybe the `--excluded_line_regex` command line option can help? https://github.com/OpenCppCoverage/OpenCppCoverage/wiki/Command-line-reference#--excluded_line_regex

Can you provide a code snippet or screenshot of the code that you're trying to match?

If you check out the sources on the 'report' machine, you can use `--substitute_pdb_source_path` to link the report to the actual source files. E.g. `--substitute_pdb_source_path C:\BuildMachine\Project?C:\ReportMachine\Project`

PowerShell script to get the coverage from the html report ``` $coverageReport = Get-Content "CoverageReport\index.html" $coverage = [regex]::Match($coverageReport, "'Cover (\d+)%'").Groups[1].Value ``` Not the most efficient but it gets the job...

With v0.9.6.1, OpenCppCoverage ran without any issue. With v0.9.7.0, OpenCppCoverage detects a managed module and doesn't run the executable. I'll try to create an example application.