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: [email protected]
          Reporter: [email protected]

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.

--

Reply via email to