Menu

#57 Ignores and Branch Coverage

open
nobody
None
5
2008-06-06
2008-06-06
Anonymous
No

It would be nice to see any specified Ignores also ignored in Branch coverage. Example:

if (logger.isDebugEnabled()) {
logger.debug("Something");
}

If I specify an ignore for commons-logging, or log4j, the logger.debug line is ignored, but I still get a warning on the branch coverage (50%).

Discussion