Skip to content
Snippets Groups Projects

Strew analyzer with files without test crashes worker

Files

@@ -113,6 +113,7 @@ public class StrewAnalyzer extends AggregatedAnalyzer {
final double numTestMethods) {
if (numTestMethods == 0) {
logger.warn("Number of test methods is 0, Average assertions per testcase is omitted");
return;
}
logger.debug("Adding average assertions per testcase: ({}/{})", numAssertions,
numTestMethods);
Loading