Nuramon
15 years agoOccasional Contributor
Coverage Profiler: Data loss in "Auto Merge"
Hello everyone,
First of all some background information: for a smaller subproject in my company, I've created an AQtime-project including all packages and executables for creating coverage reports. The projectfile contains 6 executables, which are started one after another, each creating a single report ("result"). Thanks to the "auto merge"-function, after running all 6 executables, I have a report in which all reports are merged together ("Merged Results" > "All Merged"). This works really well, but there is one file that is not working properly.
When I take a look at the report from the executable which is covering this file, I get the following coverage: Hitcount = 1034, Coverage = 91.62%. But in the "All Merged" report, I get the following values: Hitcount = 1034, Coverage = 82.74%. When I opened the file in the "Editor"-view (coverage on line level), I figured out, that after merging some rows are marked als "uncovered" (red bullet), which were marked as "covered" (green bullet) before. It looks like this coverage-information has been lost during automerge.
I have no idea what's the problem here. For all other files (~100 in the whole project) auto merge works fine. Only this file creates troubles. I would be thankful for every hint helping me to solve this problem.
I'm using AQtime in Version 6.50.498.64. The project is being programmed in Delphi.
Thanks in advance
Thomas
First of all some background information: for a smaller subproject in my company, I've created an AQtime-project including all packages and executables for creating coverage reports. The projectfile contains 6 executables, which are started one after another, each creating a single report ("result"). Thanks to the "auto merge"-function, after running all 6 executables, I have a report in which all reports are merged together ("Merged Results" > "All Merged"). This works really well, but there is one file that is not working properly.
When I take a look at the report from the executable which is covering this file, I get the following coverage: Hitcount = 1034, Coverage = 91.62%. But in the "All Merged" report, I get the following values: Hitcount = 1034, Coverage = 82.74%. When I opened the file in the "Editor"-view (coverage on line level), I figured out, that after merging some rows are marked als "uncovered" (red bullet), which were marked as "covered" (green bullet) before. It looks like this coverage-information has been lost during automerge.
I have no idea what's the problem here. For all other files (~100 in the whole project) auto merge works fine. Only this file creates troubles. I would be thankful for every hint helping me to solve this problem.
I'm using AQtime in Version 6.50.498.64. The project is being programmed in Delphi.
Thanks in advance
Thomas