Skip to content

Enable publish-unit-test-result from PRs #233

Enable publish-unit-test-result from PRs

Enable publish-unit-test-result from PRs #233

GitHub Actions / Coverage succeeded Oct 13, 2024 in 0s

Code Coverage 91.89 %

This run completed at 10/13/2024 15:57:08

Details

Coverage Report: JaCoCo

  • htmlSanityCheck
Outcome Value
Code Coverage % 91.89%
✔️ Number of Lines Covered 1133
❌ Number of Lines Missed 100
Total Number of Lines 1233

Details:

org/aim42/htmlsanitycheck/gradle

✔️ HtmlSanityCheckTask.groovy

All Lines Covered!

✔️ HtmlSanityCheckPlugin.groovy

All Lines Covered!

org/aim42/filesystem

❌ FileCollector.java

Lines Missed:

        }

org/aim42/htmlsanitycheck

❌ Configuration.java

Lines Missed:

❌ ProductInformation.java

Lines Missed:

        } catch (IOException E) {
✔️ AllChecksRunner.java

All Lines Covered!

✔️ MisconfigurationException.java

All Lines Covered!

org/aim42/htmlsanitycheck/check

❌ MissingLocalResourcesChecker.java

Lines Missed:

        } catch (URISyntaxException e) {
            return;
❌ MissingImageFilesChecker.java

Lines Missed:

        } catch (UnsupportedEncodingException e) {
✔️ MissingAltInImageTagsChecker.java

All Lines Covered!

✔️ DuplicateIdChecker.java

All Lines Covered!

❌ AllCheckers.java

Lines Missed:

❌ SuggestingChecker.java

Lines Missed:

❌ BrokenHttpLinksChecker.java

Lines Missed:

        } catch (MalformedURLException exception) {
            }
        } catch (UnknownHostException exception) {
        }
✔️ UnknownCheckerException.java

All Lines Covered!

❌ ImageMapChecker.java

Lines Missed:

        String linkTarget = (href.startsWith("#")) ? href.substring(1) : href;
❌ BrokenCrossReferencesChecker.java

Lines Missed:

        String linkTarget = (href.startsWith("#")) ? href.substring(1) : href;
        } catch (UnsupportedEncodingException e) {
❌ CheckerCreator.java

Lines Missed:

✔️ Checker.java

All Lines Covered!

org/aim42/net

❌ TrustAllCertificates.java

Lines Missed:

    }
        catch (NoSuchAlgorithmException | KeyManagementException e)

org/aim42/htmlsanitycheck/suggest

❌ Suggester.java

Lines Missed:

org/aim42/htmlsanitycheck/collect

✔️ PerRunResults.java

All Lines Covered!

❌ Finding.java

Lines Missed:

    }
    }
❌ PageResults.java
✔️ SinglePageResults.java

All Lines Covered!

❌ CheckResults.java
❌ SingleCheckResults.java

Lines Missed:

❌ RunResults.java

net/ricecode/similarity

❌ SimilarityStrategy.java
❌ SimilarityScore.java

Lines Missed:

❌ JaroWinklerStrategy.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

❌ HtmlElement.java

Lines Missed:

        return href.startsWith("#") ? href.substring(1) : href;
❌ 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:

                    writer.writeCharacters(finding.getSuggestions() != null ? String.join(", ", finding.getSuggestions()) : "");
        } catch (IOException | XMLStreamException e) {
❌ HtmlReporter.java

Lines Missed:

        } catch (IOException e) {
        } catch (IOException e) {
        } catch (final IOException e) {
            } catch (IOException e) {
  • Line #405
        } catch (IOException e) {

org/aim42/htmlsanitycheck/tools

✔️ InvalidUriSyntaxException.java

All Lines Covered!

✔️ Web.java

All Lines Covered!

                            (!aUri.getPath().isEmpty()) // (2)