Advanced code coverage analysis

Basile B. b2.temp at gmx.com
Tue Dec 5 10:55:36 UTC 2017


On Monday, 4 December 2017 at 20:33:56 UTC, thinwybk wrote:
> Hi everyone,
>
> as far as I know there is a statement coverage analyzer built 
> into DMD https://dlang.org/code_coverage.html . Are there code 
> coverage analyzers for D which support branch coverage and 
> other more advanced coverage metrics 
> https://en.wikipedia.org/wiki/Code_coverage ?
>
> Cheers,
> thinwybk

No, the compiler reports only statement coverage. Higher levels 
reports could be made by a tool that would use the LST file and 
the AST produced by libdparse.


More information about the Digitalmars-d mailing list