trident-job / delphi-code-coverage

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

How to get emma reports with SourceCode from em/ec-Files? #52

Closed GoogleCodeExporter closed 9 years ago

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

GoogleCodeExporter commented 9 years ago
I've checked Emma source code and it supports only files with .java extensions. 
So I guess it is not possible to include .pas source code in Emma report

Original comment by e.kotlya...@gmail.com on 4 Oct 2014 at 10:28