www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20707] New: the percentage of coverage reported should be


          Issue ID: 20707
           Summary: the percentage of coverage reported should be more
           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