XQuery Saxon Coverage


License

License

Categories

Categories

Axon Application Layer Libs Distributed Applications
GroupId

GroupId

com.github.lizardev
ArtifactId

ArtifactId

xquery-saxon-coverage
Last Version

Last Version

0.8.0
Release Date

Release Date

Type

Type

jar
Description

Description

XQuery Saxon Coverage
XQuery Saxon Coverage
Project URL

Project URL

https://github.com/lizardev/xquery-saxon
Source Code Management

Source Code Management

https://github.com/lizardev/xquery-saxon

Download xquery-saxon-coverage

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.lizardev/xquery-saxon-coverage/ -->
<dependency>
    <groupId>com.github.lizardev</groupId>
    <artifactId>xquery-saxon-coverage</artifactId>
    <version>0.8.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.lizardev/xquery-saxon-coverage/
implementation 'com.github.lizardev:xquery-saxon-coverage:0.8.0'
// https://jarcasting.com/artifacts/com.github.lizardev/xquery-saxon-coverage/
implementation ("com.github.lizardev:xquery-saxon-coverage:0.8.0")
'com.github.lizardev:xquery-saxon-coverage:jar:0.8.0'
<dependency org="com.github.lizardev" name="xquery-saxon-coverage" rev="0.8.0">
  <artifact name="xquery-saxon-coverage" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.lizardev', module='xquery-saxon-coverage', version='0.8.0')
)
libraryDependencies += "com.github.lizardev" % "xquery-saxon-coverage" % "0.8.0"
[com.github.lizardev/xquery-saxon-coverage "0.8.0"]

Dependencies

compile (5)

Group / Artifact Type Version
com.github.lizardev : xquery-saxon-support jar 0.8.0
com.google.guava : guava jar 18.0
commons-io : commons-io jar 2.4
org.apache.commons : commons-lang3 jar 3.4
org.freemarker : freemarker jar 2.3.18

provided (1)

Group / Artifact Type Version
net.sf.saxon : Saxon-HE jar 9.6.0-7

Project Modules

There are no modules declared in this project.

XQuery Coverage for Saxon implementation

Build Status Maven Central

xquery-saxon-support module features

  • many TraceCodeInjectors and TraceListeners supported in the same time via TraceExtension interface
  • TraceExtensions could be provided via generic Service Provider Interface (SPI). It makes prod code independent on potential TraceExtension

xquery-saxon-coverage module features

  • Coverage collection from many module's compilations
  • Coverage report per line and instruction in HTML format

Configuration

  • add xquery-saxon-support to prod classpath and use SpiTraceExtensionProvider to obtain TraceExtension
  • add xquery-saxon-coverage to test classpath and enable coverage collection via -Dxquery.saxon.coverage Java system property

IDE integration

Provide Java system properties

  • -Dxquery.saxon.coverage - enables coverage collection
  • -Dxquery.saxon.coverage.report.bin.save.on.shutdown - saves binary coverage report on JVM shutdown in report directory
  • -Dxquery.saxon.coverage.report.html.save.on.shutdown - saves HTML coverage report on JVM shutdown in report directory
  • -Dxquery.saxon.coverage.report.dir - report directory, default value is build/reports/xquery-saxon-coverage
com.github.lizardev

lizardev

Versions

Version
0.8.0
0.7
0.6
0.5
0.4
0.3
0.2
0.1