How to get emma reports with SourceCode from em/ec-Files?
Closed this issue · 0 comments
GoogleCodeExporter commented
I'm trying to generate a html report with emma from the em/ec-files which where
generated by delphi-code-coverage, like:
CodeCoverage generation:
CodeCoverage.exe -e "Tests.exe" -m "Tests.map" -ife -uf dcov_units.lst -spf
dcov_paths.lst -od ".\" -emma -meta -xml
Emma-Report generation:
java -cp emma.jar emma report -r html -in .\coverage.em -in .\coverage.ec -sp
./src/
Everything works fine, a html report is generated, but the source code is not
included (unlike when i use the codecoverage -html option) (see example
attached html). Is there a way to include the source code, to show which lines
where covered and which are not, or is this simply not possible?
I'm asking this, because i wan'T to use the ec/em files in combination with
sonar and emma plugin, but if the source code is not included and highlighted
i'm better of using the html reports provided by code coverage itself.
Thanks in advance,
Chris
Original issue reported on code.google.com by cduwenk...@gmail.com on 21 Feb 2013 at 9:47
Attachments: