' target/site/jacoco/index.html | grep '' | sed 's/ | \([^<]*\)<\/td>/\1/' | tr '\n' '\t' | sed 's/\t$/\n/' > /tmp/$$.values
paste /tmp/$$.headers /tmp/$$.values | tail +2 | awk -v FS='\t' '{printf("%-20s %s\n",$1,$2)}'
rm /tmp/$$.headers /tmp/$$.values
else
echo "Jacoco coverage summary could not be parsed...";
fi
echo "Untested classes, per Jacoco:"
echo "-----------------------------"
# Parse Jacoco XML reports directly to find classes with 0% coverage
find target/site/jacoco -name "jacoco.xml" -exec grep -l '
org.jacoco
jacoco-maven-plugin
0.8.8
pre-unit-test
prepare-agent
jaCoCoArgLine
unit-test-check
check
${coverage.haltOnFailure}
BUNDLE
INSTRUCTION
COVEREDRATIO
${coverage.instructionCoveredRatioMinimum}
CLASS
COVEREDRATIO
${coverage.classCoveredRatioMinimum}
post-unit-test
post-integration-test
report
org.apache.maven.plugins
maven-javadoc-plugin
3.6.2
aggregate
false
aggregate
default
javadoc
github-qqq-maven-registry
GitHub QQQ Maven Registry
https://maven.pkg.github.com/Kingsrook/qqq-maven-registry
github-qqq-maven-registry
GitHub QQQ Maven Registry
https://maven.pkg.github.com/Kingsrook/qqq-maven-registry
|