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.
can be done by a simple command line tool