#320 Fix Sonar Issues #82
GitHub Actions / Coverage
succeeded
Apr 4, 2024 in 0s
Code Coverage 72.27 %
This run completed at 04/04/2024 08:01:35
Details
Coverage Report: JaCoCo
- htmlSanityCheck-gradle-plugin
Outcome | Value |
---|---|
Code Coverage % | 72.27% |
✔️ Number of Lines Covered | 894 |
❌ Number of Lines Missed | 343 |
Total Number of Lines | 1237 |
Details:
org/aim42/filesystem
org/aim42/htmlsanitycheck
❌ HtmlSanityCheckPlugin.groovy
Lines Missed:
❌ Configuration.java
Lines Missed:
❌ AllChecksRunner.java
Lines Missed:
- Line aim42#91
performChecksForOneFile(file));
- Line aim42#92
}
- Line aim42#152
}
- Line aim42#163
}
- Line aim42#172
}
- Line aim42#181
}
- Line aim42#191
}
❌ HtmlSanityCheckTask.groovy
Lines Missed:
- Line aim42#112
}
- Line aim42#162
} else {
- Line aim42#165
}
✔️ MisconfigurationException.java
All Lines Covered!
org/aim42/htmlsanitycheck/check
❌ MissingImageFilesChecker.java
Lines Missed:
- Line aim42#95
} catch (UnsupportedEncodingException e) {
✔️ MissingAltInImageTagsChecker.java
All Lines Covered!
❌ MissingLocalResourcesChecker.java
Lines Missed:
- Line aim42#91
} catch (URISyntaxException e) {
- Line aim42#97
return;
❌ AllCheckers.java
Lines Missed:
❌ SuggestingChecker.java
Lines Missed:
❌ BrokenHttpLinksChecker.java
Lines Missed:
- Line aim42#137
}
- Line aim42#165
} catch (UnknownHostException exception) {
- Line aim42#171
}
- Line aim42#172
} catch (MalformedURLException exception) {
❌ ImageMapChecker.java
Lines Missed:
- Line aim42#151
String linkTarget = (href.startsWith("#")) ? href.substring(1) : href;
❌ BrokenCrossReferencesChecker.java
Lines Missed:
- Line aim42#96
String linkTarget = (href.startsWith("#")) ? href.substring(1) : href;
- Line aim42#100
} catch (UnsupportedEncodingException e) {
❌ CheckerCreator.java
Lines Missed:
✔️ Checker.java
All Lines Covered!
org/aim42/net
❌ TrustAllCertificates.java
Lines Missed:
- Line aim42#15
}
- Line aim42#42
catch (NoSuchAlgorithmException | KeyManagementException e)
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:
✔️ DescendingSimilarityScoreComparator.java
All Lines Covered!
✔️ JaroStrategy.java
All Lines Covered!
✔️ AscendingSimilarityScoreComparator.java
All Lines Covered!
❌ StringSimilarityService.java
❌ StringSimilarityServiceImpl.java
Lines Missed:
org/aim42/htmlsanitycheck/html
❌ HtmlElement.java
Lines Missed:
- Line aim42#21
return href.startsWith("#") ? href.substring(1) : href;
❌ 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 aim42#46
}
- Line aim42#60
}
- Line aim42#68
}
- Line aim42#73
}
- Line aim42#79
}
- Line aim42#82
}
- Line aim42#88
}
- Line aim42#91
}
- Line aim42#96
}
❌ JUnitXmlReporter.java
Lines Missed:
- Line aim42#61
String name = pageResult.getPageFilePath() != null ? pageResult.getPageFilePath() :
- Line aim42#88
writer.writeCharacters(finding.getSuggestions() != null ? String.join(", ", finding.getSuggestions()) : "");
- Line aim42#99
} catch (IOException | XMLStreamException e) {
❌ HtmlReporter.java
Lines Missed:
- Line aim42#31
} catch (IOException e) {
- Line aim42#49
} catch (IOException e) {
- Line aim42#88
} catch (final IOException e) {
- Line aim42#95
} catch (IOException e) {
- Line aim42#168
}
- Line aim42#214
}
- Line aim42#220
int percentageSuccessful =
- Line aim42#322
}
- Line aim42#329
}
- Line aim42#351
}
- Line #361
}
- Line #403
} catch (IOException e) {
org/aim42/htmlsanitycheck/tools
Loading