digitalmars.D.bugs - [Issue 20707] New: the percentage of coverage reported should be
- d-bugmail puremagic.com (20/20) Mar 29 2020 https://issues.dlang.org/show_bug.cgi?id=20707
https://issues.dlang.org/show_bug.cgi?id=20707 Issue ID: 20707 Summary: the percentage of coverage reported should be more accurate Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: bootcamp, diagnostic Severity: enhancement Priority: P1 Component: druntime Assignee: nobody puremagic.com Reporter: b2.temp gmx.com The problem is that when a source contains more than 100 SLOCs, the integral percentage given by DMD is inaccurate so I suggest to use a FP number intead with two decimal ranks of precision in the mantissa, e.g with "%.2f" specifier, which would make the results meaningfull on sources containing up to 10 KSLOCs. --
Mar 29 2020