Menu

#120 degrading not a graceful as it could be

open
nobody
None
5
2010-08-27
2010-08-27
Paul Millar
No

Hi,

I'm using emmarun to instrument some code on-the-fly. There is a few classes that are "extended" by Jpox to add support for storing of state in a database. In rewriting the classes, jpox doesn't retain the debug information, so these classes lack the information emma needs for correct reporting of usage for those classes (IIRC, this effect is documented in emma's FAQ). All the other classes have the appropriate debug information so, as a fraction of the total code-base, the "bad" code (without debug information) is tiny.

Naturally, emma notices that there are a few classes that lack the necessary debug information. It then disables all colour-highlighting of the source-code in the HTML report.

Would it be possible to change emma's HTML reporting so it disables colour-highlighting for only those classes that don't have debug information?

In my case, since the vast majority of the code contains the necessary debug information, this would greatly enhance the HTML output. (I'd also like to include the Jpox enhanced code in the code-coverage report, but at the moment, it doesn't seem possible to retain debug information when using Jpox's enhancer tool).

Cheers,

Paul.

I'm using emma version is 2.0.5312

Discussion


Log in to post a comment.