Avoid NPE in config initialization #333
GitHub Actions / Coverage
succeeded
Sep 18, 2024 in 0s
Code Coverage 91.19 %
This run completed at 09/18/2024 10:54:30
Details
Coverage Report: JaCoCo
- htmlSanityCheck-gradle-plugin
Outcome | Value |
---|---|
Code Coverage % | 91.19% |
✔️ Number of Lines Covered | 1107 |
❌ Number of Lines Missed | 107 |
Total Number of Lines | 1214 |
Details:
org/aim42/filesystem
org/aim42/htmlsanitycheck
✔️ HtmlSanityCheckPlugin.groovy
All Lines Covered!
❌ Configuration.java
Lines Missed:
✔️ AllChecksRunner.java
All Lines Covered!
✔️ HtmlSanityCheckTask.groovy
All Lines Covered!
✔️ MisconfigurationException.java
All Lines Covered!
org/aim42/htmlsanitycheck/check
✔️ MissingAltInImageTagsChecker.java
All Lines Covered!
❌ MissingLocalResourcesChecker.java
Lines Missed:
- Line #91
} catch (URISyntaxException e) {
- Line #97
return;
❌ 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 #15
}
- Line #42
catch (NoSuchAlgorithmException | KeyManagementException e)
org/aim42/htmlsanitycheck/suggest
❌ Suggester.java
Lines Missed:
org/aim42/htmlsanitycheck/collect
✔️ PerRunResults.java
All Lines Covered!
❌ PageResults.java
✔️ SinglePageResults.java
All Lines Covered!
❌ 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
✔️ LoggerReporter.java
All Lines Covered!
❌ CreateLinkUtil.java
Lines Missed:
✔️ Reporter.java
All Lines Covered!
❌ SummarizerUtil.java
Lines Missed:
✔️ ConsoleReporter.java
All Lines Covered!
❌ JUnitXmlReporter.java
Lines Missed:
- Line #83
writer.writeCharacters(finding.getSuggestions() != null ? String.join(", ", finding.getSuggestions()) : "");
- Line #94
} catch (IOException | XMLStreamException e) {
❌ HtmlReporter.java
Lines Missed:
- Line #33
} catch (IOException e) {
- Line #51
} catch (IOException e) {
- Line #86
} catch (final IOException e) {
- Line #156
} catch (IOException e) {
- Line #408
} catch (IOException e) {
org/aim42/htmlsanitycheck/tools
Loading