Bug 20707 – the percentage of coverage reported should be more accurate
Status
RESOLVED
Resolution
WONTFIX
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-03-29T11:27:00Z
Last change time
2021-03-18T07:40:19Z
Keywords
bootcamp, diagnostic
Assigned to
No Owner
Creator
Basile-z
Comments
Comment #0 by b2.temp — 2020-03-29T11:27:00Z
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.