[gsoc] DMD - Ideas
Andre Pany
andre at s-e-a-p.de
Thu Mar 7 11:28:20 UTC 2019
On Thursday, 7 March 2019 at 09:53:13 UTC, Seb wrote:
> @community: what other features do you miss the most from DMD
> that could be done in the span of a GSoC?
I would like to have an additional coverage report format.
Instead of having multiple
lst files, I would like to have 1 file. Either in XML or JSON
format. Something
like Cobertura format would be great:
<coverage lines-valid="463" lines-covered="299"
line-rate="0.6458">
<packages>
<package name="runtime.shell" line-rate="0.01666">
<class name="runtime.shell.app"
filename="source\runtime\shell\app.d" line-rate="1">
<lines>
<line number="9" hits="1"/>
</lines>
</class>
<class name="runtime.shell.command"
filename="source\runtime\shell\command.d" line-rate="0">
<lines>
<line number="17" hits="0"/>
<line number="19" hits="0"/>
<line number="29" hits="0"/>
<line number="30" hits="0"/>
<line number="37" hits="0"/>
The luxury solution of course would be, if I could hook into the
coverage report logic of DMD and could write my own coverage
reporter.
Kind regards
André
More information about the Digitalmars-d
mailing list