Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JReleaser to HSC #325

Closed
wants to merge 4 commits into from

Release to GitHub

e7eb060
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Add JReleaser to HSC #325

Release to GitHub
e7eb060
Select commit
Loading
Failed to load commit list.
GitHub Actions / Coverage succeeded Aug 9, 2024 in 0s

Code Coverage 83.83 %

This run completed at 08/09/2024 06:25:05

Details

Coverage Report: JaCoCo

  • htmlSanityCheck-gradle-plugin
Outcome Value
Code Coverage % 83.83%
✔️ Number of Lines Covered 1037
❌ Number of Lines Missed 200
Total Number of Lines 1237

Details:

org/aim42/filesystem

❌ FileCollector.java

Lines Missed:

        }

org/aim42/htmlsanitycheck

❌ HtmlSanityCheckPlugin.groovy

Lines Missed:

❌ Configuration.java

Lines Missed:

❌ ProductInformation.java

Lines Missed:

        } catch (IOException E) {
❌ AllChecksRunner.java

Lines Missed:

                    performChecksForOneFile(file));
        }
    }
    }
    }
    }
    }
❌ HtmlSanityCheckTask.groovy

Lines Missed:

        }
        } else {
        }
✔️ MisconfigurationException.java

All Lines Covered!

org/aim42/htmlsanitycheck/check

❌ MissingLocalResourcesChecker.java

Lines Missed:

        } catch (URISyntaxException e) {
            return;
✔️ MissingAltInImageTagsChecker.java

All Lines Covered!

❌ MissingImageFilesChecker.java

Lines Missed:

        } catch (UnsupportedEncodingException e) {
❌ DuplicateIdChecker.java

Lines Missed:

    }
    }
❌ AllCheckers.java

Lines Missed:

❌ SuggestingChecker.java

Lines Missed:

❌ BrokenHttpLinksChecker.java

Lines Missed:

                }
            } catch (UnknownHostException exception) {
            }
        } catch (MalformedURLException exception) {
❌ UnknownCheckerException.java

Lines Missed:

    }
❌ 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:

    }
✔️ 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:

        return href.startsWith("#") ? href.substring(1) : href;
❌ HtmlConst.java

Lines Missed:

✔️ HtmlPage.java

All Lines Covered!

org/aim42/htmlsanitycheck/report

❌ LoggerReporter.java

Lines Missed:

    }
❌ CreateLinkUtil.java

Lines Missed:

✔️ Reporter.java

All Lines Covered!

❌ SummarizerUtil.java

Lines Missed:

✔️ ConsoleReporter.java

All Lines Covered!

        String pageStr = (totalNrOfPages() > 1) ? "pages" : "page";
❌ 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) {
        String issueStr = (totalNrOfFindings() != 1) ? "issues" : "issue";
        String classStr = (spr.nrOfFindingsOnPage() == 0) ? "success" : "failures";
        String headerClass = (singleCheckResults.nrOfProblems() > 0) ? "failures" : "success";
  • Line #408
        } catch (IOException e) {

org/aim42/htmlsanitycheck/tools

✔️ Web.java

All Lines Covered!

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