Percent vlaues for files differ in HTML and XML file
Code coverage tool for Delphi
Status: Beta
Brought to you by:
ekot
Originally created by: joachim....@gmail.com
They differ for all units. Percent of covered lines in XML is much higher than in HTML report. Example:
<srcfile name="ShellControls.pas">
<coverage value="100% (12/12)" type="class, %"/>
<coverage value="100% (371/371)" type="method, %"/>
<coverage value="60% (4341/7176)" type="block, %"/>
<coverage value="60% (4341/7176)" type="line, %"/>
Unit Name Number of covered lines Number of lines (which generated code) Percent(s) covered
ShellControls 749 3549 21%
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: linards....@gmail.com
Thank you for reporting!
Please provide the following:
- test file
- generated report file(s)
- cmd line used to execute tool
I will try to look at it when I will have time ;)
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: joachim....@gmail.com
I've sent the files by mail.
I meanwhile found out that my application crashes when I run it through CodeCoverage.exe, it does not crash if I run it without CodeCoverage. I have compiled in Eurekalog, but it does not catch any exception, so somethig must go wrong on a very deep layer.
I'm not sure if this crash could explain the differing results, but I don't think so.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: linards....@gmail.com
Okay. Thank you for follow-up :)
Heh. It seems like you have found new pruose of this tool - linear static debugger :D
Besides, please take a look at Issue #37 :) You might be interested...
Related
Tickets:
#37View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: joachim....@gmail.com
Hi Christer.
I opened an issue for the mem leak.
I am a professional developer and would like to use DCC for a DUnit test
project, which tests a set of Delphi components. I would like to run the
tests with code coverage semi-automatized after the build process. So far I
didn't have too much luck with that intention. I guess I am getting closer,
but in each release there was another issue. Thanks anyway for your efforts!
BTW, I am also the (last remaining) developer of the Delphi Virtual
TreeView component: https://code.google.com/p/virtual-treeview/
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: e.kotlya...@gmail.com
This issue was closed by revision [r171].
Status: Fixed