Skip to content

Add Sonar analysis

Add Sonar analysis #70

GitHub Actions / Coverage succeeded Mar 28, 2024 in 0s

Code Coverage 63.54 %

This run completed at 03/28/2024 09:03:56

Details

Coverage Report: JaCoCo

  • htmlSanityCheck-gradle-plugin
Outcome Value
Code Coverage % 63.54%
✔️ Number of Lines Covered 678
❌ Number of Lines Missed 389
Total Number of Lines 1067

Details:

org/aim42/filesystem

❌ FileCollector.groovy

Lines Missed:

        if ((sourceDocs == null) || (sourceDocs?.empty)) {
❌ FileUtil.groovy

Lines Missed:

            }
            }
            }

org/aim42/inet

❌ NetUtil.groovy

Lines Missed:

org/aim42/htmlsanitycheck

✔️ MisconfigurationException.groovy

All Lines Covered!

❌ Configuration.groovy

Lines Missed:

        }
❌ HtmlSanityCheckTask.groovy

Lines Missed:

        }
        } else {
        }
❌ HtmlSanityCheckPlugin.groovy

Lines Missed:

❌ AllChecksRunner.groovy

Lines Missed:

        }
    }
❌ ProductVersion.groovy

Lines Missed:

org/aim42/htmlsanitycheck/check

✔️ DuplicateIdChecker.groovy

All Lines Covered!

        }
❌ UnknownCheckerException.groovy

Lines Missed:

❌ MissingLocalResourcesChecker.groovy

Lines Missed:

            return
        }
❌ ImageMapChecker.groovy

Lines Missed:

✔️ MissingImageFilesChecker.groovy

All Lines Covered!

        } else if (isDataURI) {
❌ BrokenCrossReferencesChecker.groovy

Lines Missed:

            }
        String linkTarget = (href.startsWith("#")) ? href[1..-1] : href
        }
        }
✔️ Checker.groovy

All Lines Covered!

✔️ MissingAltInImageTagsChecker.groovy

All Lines Covered!

✔️ CheckerCreator.groovy

All Lines Covered!

✔️ SuggestingChecker.groovy

All Lines Covered!

❌ BrokenHttpLinksChecker.groovy

Lines Missed:

                }
            }
        }
        if (!myConfig.getConfigItemByName(Configuration.ITEM_NAME_ignoreIPAddresses)) {
        if (!myConfig.getConfigItemByName(Configuration.ITEM_NAME_ignoreLocalhost)) {
✔️ AllCheckers.groovy

All Lines Covered!

org/aim42/net

❌ TrustAllCertificates.java

Lines Missed:

    public void checkClientTrusted(X509Certificate[] certs, String authType) {}
        catch (NoSuchAlgorithmException e)
        catch (KeyManagementException e)

org/aim42/htmlsanitycheck/suggest

✔️ Suggester.groovy

All Lines Covered!

org/aim42/htmlsanitycheck/html

❌ HtmlPage.groovy

Lines Missed:

❌ HtmlConst.groovy
❌ HtmlElement.groovy

Lines Missed:

❌ ParserSample.groovy

Lines Missed:

        }
        }
❌ URLUtil.groovy

Lines Missed:

        }

org/aim42/htmlsanitycheck/collect

❌ SinglePageResults.groovy

Lines Missed:

❌ Finding.groovy

Lines Missed:

❌ PageResults.groovy
✔️ PerRunResults.groovy

All Lines Covered!

❌ CheckResults.groovy
❌ SingleCheckResults.groovy

Lines Missed:

❌ RunResults.groovy

net/ricecode/similarity

❌ SimilarityStrategy.java
❌ SimilarityScore.java

Lines Missed:

❌ JaroWinklerStrategy.java

Lines Missed:

    }
✔️ JaroStrategy.java

All Lines Covered!

❌ StringSimilarityService.java
✔️ DescendingSimilarityScoreComparator.java

All Lines Covered!

✔️ AscendingSimilarityScoreComparator.java

All Lines Covered!

❌ StringSimilarityServiceImpl.java

Lines Missed:

org/aim42/htmlsanitycheck/report

❌ LoggerReporter.groovy

Lines Missed:

❌ HtmlReporter.groovy

Lines Missed:

        }
  • Line #363
        }
❌ Reporter.groovy

Lines Missed:

    }
    }
✔️ CreateLinkUtil.groovy

All Lines Covered!

❌ JUnitXmlReporter.groovy

Lines Missed:

		}
❌ ConsoleReporter.groovy

Lines Missed:

❌ SummarizerUtil.groovy

Lines Missed: