- scalac-scoverage-plugin - the compiler plugin for Scala 2 and lots of other utilities (e.g. the report writers) that are used by the tools
- sbt-scoverage - the sbt plugin
- gradle-scoverage - the gradle plugin
- scoverage-maven-plugin - the maven plugin
- sbt-coveralls - the sbt plugin to upload scoverage reports to coveralls
- sbt-scoverage-examples - example reports, which show how to use scoverage
This was build for Scala 2. Initially it was mainly a compiler plugin that is annotating/instrumenting the Abstract Syntax Tree (AST).
When you execute the code by running the tests that instrumentation
will then create the scoverage.coverage
file. That file shows what
branches of the code have been visited and covered.
scoverage
then features a set of report writers to turn that file
into various reports (html, xml, ...) for viewing or further
processing.
scoverage
also features integrations with all the leading build
tools (sbt, gradle, maven, ...). There is also a jenkins plugin
that is maintained by jenkins and there is support for scoverage in
mill.
scoverage
provides coverage for scala, scala-js and scala-native.
To support Scala 3 the compiler plugin was merged into dotty (starting with 3.2).