Menu

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

Fixed
nobody
None
Medium
Defect
2012-10-02
2012-05-03
Anonymous
No

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%

Discussion

  • Anonymous

    Anonymous - 2012-05-05

    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 ;)

     
  • Anonymous

    Anonymous - 2012-05-07

    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.

     
  • Anonymous

    Anonymous - 2012-05-07

    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: #37

  • Anonymous

    Anonymous - 2012-09-07

    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/

     
  • Anonymous

    Anonymous - 2012-10-02

    Originally posted by: e.kotlya...@gmail.com

    This issue was closed by revision [r171].

    Status: Fixed

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.