312 WIP Start unit test for HtmlReporter #119
GitHub Actions / Coverage
succeeded
Mar 21, 2024 in 0s
Code Coverage 72.16 %
This run completed at 03/21/2024 16:48:47
Details
Coverage Report: JaCoCo
- htmlSanityCheck-gradle-plugin
Outcome | Value |
---|---|
Code Coverage % | 72.16% |
✔️ Number of Lines Covered | 897 |
❌ Number of Lines Missed | 346 |
Total Number of Lines | 1243 |
Details:
org/aim42/filesystem
org/aim42/htmlsanitycheck
❌ HtmlSanityCheckPlugin.groovy
Lines Missed:
❌ Configuration.java
Lines Missed:
❌ AllChecksRunner.java
Lines Missed:
- Line #91
performChecksForOneFile(file));
- Line #92
}
- Line #152
}
- Line #163
}
- Line #172
}
- Line #181
}
- Line #191
}
✔️ MisconfigurationException.java
All Lines Covered!
org/aim42/htmlsanitycheck/check
❌ MissingLocalResourcesChecker.java
Lines Missed:
- Line #91
} catch (URISyntaxException e) {
- Line #97
return;
✔️ MissingAltInImageTagsChecker.java
All Lines Covered!
❌ AllCheckers.java
Lines Missed:
❌ SuggestingChecker.java
Lines Missed:
❌ BrokenHttpLinksChecker.java
Lines Missed:
- Line #137
}
- Line #165
} catch (UnknownHostException exception) {
- Line #171
}
- Line #172
} catch (MalformedURLException exception) {
❌ ImageMapChecker.java
Lines Missed:
- Line #151
String linkTarget = (href.startsWith("#")) ? href.substring(1) : href;
❌ BrokenCrossReferencesChecker.java
Lines Missed:
- Line #96
String linkTarget = (href.startsWith("#")) ? href.substring(1) : href;
- Line #100
} catch (UnsupportedEncodingException e) {
❌ CheckerCreator.java
Lines Missed:
✔️ Checker.java
All Lines Covered!
org/aim42/net
❌ TrustAllCertificates.java
Lines Missed:
- Line #27
} catch (NoSuchAlgorithmException e) {
- Line #29
} catch (KeyManagementException e) {
- Line #39
}
org/aim42/htmlsanitycheck/suggest
❌ Suggester.java
Lines Missed:
org/aim42/htmlsanitycheck/collect
✔️ PerRunResults.java
All Lines Covered!
❌ PageResults.java
❌ CheckResults.java
❌ SingleCheckResults.java
Lines Missed:
❌ RunResults.java
net/ricecode/similarity
❌ SimilarityStrategy.java
❌ SimilarityScore.java
Lines Missed:
✔️ JaroStrategy.java
All Lines Covered!
✔️ DescendingSimilarityScoreComparator.java
All Lines Covered!
✔️ AscendingSimilarityScoreComparator.java
All Lines Covered!
❌ StringSimilarityService.java
❌ StringSimilarityServiceImpl.java
Lines Missed:
org/aim42/htmlsanitycheck/html
❌ HtmlConst.java
Lines Missed:
✔️ HtmlPage.java
All Lines Covered!
org/aim42/htmlsanitycheck/report
❌ CreateLinkUtil.java
Lines Missed:
❌ SummarizerUtil.java
Lines Missed:
❌ ConsoleReporter.java
Lines Missed:
- Line #46
}
- Line #60
}
- Line #68
}
- Line #73
}
- Line #79
}
- Line #82
}
- Line #88
}
- Line #91
}
- Line #96
}
❌ JUnitXmlReporter.java
Lines Missed:
- Line #61
String name = pageResult.getPageFilePath() != null ? pageResult.getPageFilePath() :
- Line #88
writer.writeCharacters(finding.getSuggestions() != null ? String.join(", ", finding.getSuggestions()) : "");
- Line #99
} catch (IOException | XMLStreamException e) {
❌ HtmlReporter.java
Lines Missed:
- Line #31
} catch (IOException e) {
- Line #49
} catch (IOException e) {
- Line #84
} catch (final IOException e) {
- Line #89
} catch (IOException e) {
- Line #162
}
- Line #208
}
- Line #214
int percentageSuccessful =
- Line #316
}
- Line #323
}
- Line #345
}
- Line #355
});
- Line #358
}
- Line #403
} catch (IOException e) {
org/aim42/htmlsanitycheck/tools
Loading