Skip to content

WIP Drop (unnecessary) Factory #356

WIP Drop (unnecessary) Factory

WIP Drop (unnecessary) Factory #356

GitHub Actions / Coverage succeeded Aug 17, 2024 in 0s

Code Coverage 5.83 %

This run completed at 08/17/2024 10:17:51

Details

Coverage Report: JaCoCo

  • htmlSanityCheck-gradle-plugin
Outcome Value
Code Coverage % 5.83%
✔️ Number of Lines Covered 71
❌ Number of Lines Missed 1146
Total Number of Lines 1217

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

Lines Missed:

    }
    }

org/aim42/htmlsanitycheck/check

❌ MissingLocalResourcesChecker.java

Lines Missed:

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

Lines Missed:

    }
    }
    }
❌ MissingImageFilesChecker.java

Lines Missed:

    }
    }
    }
    }
        } catch (UnsupportedEncodingException e) {
        }
    }
    }
❌ DuplicateIdChecker.java

Lines Missed:

    }
    }
    }
    }
    }
    }
❌ AllCheckers.java

Lines Missed:

❌ SuggestingChecker.java

Lines Missed:

    }
    }
    }
    }
❌ BrokenHttpLinksChecker.java

Lines Missed:

    }
    }
    }
    }
                    return;
                }
                        return;
            } catch (UnknownHostException exception) {
            } catch (IOException exception) {
        } catch (MalformedURLException exception) {
        }
    }
        TrustAllCertificates.install();
    }
    }
❌ UnknownCheckerException.java

Lines Missed:

    }
    }
❌ ImageMapChecker.java

Lines Missed:

    }
    }
    }
        });
    }
                .forEach(mapName ->
    }
    }
    }
    }
    }
    }
    }
❌ BrokenCrossReferencesChecker.java

Lines Missed:

    }
    }
    }
    }
    }
            return;
        } catch (UnsupportedEncodingException e) {
        }
    }
    }
❌ CheckerCreator.java

Lines Missed:

❌ Checker.java

Lines Missed:

@Setter
    }

org/aim42/net

❌ TrustAllCertificates.java

Lines Missed:

    }
    }
        catch (NoSuchAlgorithmException | KeyManagementException e)
        }
    }

org/aim42/htmlsanitycheck/suggest

❌ Suggester.java

Lines Missed:

                .map(SimilarityScore::getKey)

org/aim42/htmlsanitycheck/collect

❌ PerRunResults.java

Lines Missed:

    }
    }
    }
❌ Finding.java

Lines Missed:

    }
    }
    }
    }
    }
❌ PageResults.java
❌ SinglePageResults.java

Lines Missed:

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

    }
❌ HtmlConst.java

Lines Missed:

❌ HtmlPage.java

Lines Missed:

public class HtmlPage {
    }
    }
                .map(HtmlElement::new)
                .map(HtmlElement::getUsemapRef)
                .map(HtmlElement::new)
                .map(HtmlElement::new)
                .map(HtmlElement::new)
                .map(HtmlElement::new)
                .map(HtmlElement::new)
                .filter(Web::isWebUrl)
                .forEach(m -> {
                        }

org/aim42/htmlsanitycheck/report

❌ LoggerReporter.java

Lines Missed:

    }
❌ CreateLinkUtil.java

Lines Missed:

❌ Reporter.java

Lines Missed:

    }
    }
    }
        }
    }
        }
    }
    }
    }
❌ SummarizerUtil.java

Lines Missed:

❌ ConsoleReporter.java

Lines Missed:

    }
    }
    }
    }
    }
    }
        }
    }
    }
❌ JUnitXmlReporter.java

Lines Missed:

    }
    }
                }
            }
        } catch (IOException | XMLStreamException e) {
        }
    }
    }
    }
    }
    }
❌ HtmlReporter.java

Lines Missed:

        } catch (IOException e) {
        }
    }
    }
        } catch (IOException e) {
        }
    }
        } catch (final IOException e) {
        }
    }
    }
            } catch (IOException e) {
            }
        });
    }
    }
        }
        int percentageSuccessful =
        String pageHref =
    }
    }
    }
  • Line #366
    }
  • Line #408
        } catch (IOException e) {
  • Line #410
        }
  • Line #411
    }

org/aim42/htmlsanitycheck/tools

❌ Web.java

Lines Missed:

        } catch (UnknownHostException e) {
            } catch (URISyntaxException e) {
            }
        }