trident-job / delphi-code-coverage

Automatically exported from code.google.com/p/delphi-code-coverage
0 stars 0 forks source link

Percent vlaues for files differ in HTML and XML file #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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%

Original issue reported on code.google.com by joachim....@gmail.com on 3 May 2012 at 4:02

GoogleCodeExporter commented 9 years ago
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 ;)

Original comment by linards....@gmail.com on 5 May 2012 at 9:41

GoogleCodeExporter commented 9 years ago
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.

Original comment by joachim....@gmail.com on 7 May 2012 at 9:56

GoogleCodeExporter commented 9 years ago
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...

Original comment by linards....@gmail.com on 8 May 2012 at 4:30

GoogleCodeExporter commented 9 years ago
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: http://code.google.com/p/virtual-treeview/

Original comment by joachim....@gmail.com on 7 Sep 2012 at 6:42

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r171.

Original comment by e.kotlya...@gmail.com on 2 Oct 2012 at 6:13