www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Code Coverage Analysis, how do I skip (ignore) a line?

reply "antropod" <antropod gmail.com> writes:
I want my coverage analysis to be 100%, how do I skip lines like
assert(0);
from being counted?
Jul 21 2015
parent Jonathan M Davis via Digitalmars-d-learn writes:
On Wednesday, July 22, 2015 02:19:52 antropod via Digitalmars-d-learn wrote:
 I want my coverage analysis to be 100%, how do I skip lines like
 assert(0);
 from being counted?
AFAIK, there is no way to so, and I've mentioned that problem to Walter before, so I would have expected him to mention how to get around it if there were a way. You pretty much just have to live with not getting 100%, as annoying as that may be. - Jonathan M Davis
Jul 21 2015