Skip to content

yxuco/jacoco

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JaCoCo Java Code Coverage Library

Build Status Build status Maven Central

JaCoCo is a free Java code coverage library distributed under the Eclipse Public License. Check the project homepage for downloads, documentation and feedback.

This fork is based on the version 0.7.7.201606060606. It added method-level "include, exclude" filters for Java coverage report, which is especially targeted to code generated by TIBCO BusinessEvents applications. To use the method-level filters, edit the ant report build xml, and add the following attributes to a group tag: include="RegEx for included methods" or exclude="RegEx for excluded methods". For example,

<structure name="FraudDetectionCache">
	<group name="Rules" include="execute">
		<classfiles>
			<fileset dir="${jacoco.work}/tmp/fdcache/FraudDetectionCache/be">
				<include name="be/gen/Rules/**/*.class"/>
			</fileset>
		</classfiles>
	</group>
	<group name="Functions" exclude="&lt;init&gt;">
		<classfiles>
			<fileset dir="${jacoco.work}/tmp/fdcache/FraudDetectionCache/be">
				<include name="be/gen/RuleFunctions/**/*$.class"/>
			</fileset>
		</classfiles>
	</group>
</structure>

This fork also added an ant report tag for generating code coverage reports on TIBCO BusinessWorks applications. For example,

<jacoco:report>
	<businessworks name="MyBWApp" jmxurl="localhost:13401"/>
	<html destdir="${result.report.dir}" footer="TIBCO BusinessWorks Center of Excellence" />
</jacoco:report>

Note: We do not answer general questions in the project's issue tracker. Please contact the author for details of using this fork to generate code coverage reports for TIBCO BusinessWorks and BusinessEvents applications.

About

🔬 JaCoCo - Java Code Coverage Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 81.5%
  • HTML 13.0%
  • JavaScript 3.7%
  • XSLT 1.1%
  • CSS 0.5%
  • Shell 0.2%