No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.nuget
SimpleOccf
.gitignore
LICENSE
README.md
SimpleOccf.sln

README.md

SimpleOpenCodeCoverageFramework

Usage

  1. Modify Java source code files for measuring coverage.
SimpleOccf.exe [--handler handler] arg1 arg2 ...
  args: Java source code files or directories
  handler: FQCN of coverage handler class
  1. Compile modified source code files linking the runtime jar file. You can use Maven dependency as follows.
<dependency>
  <groupId>net.klazz.soccf</groupId>
  <artifactId>soccf-runtime</artifactId>
  <version>0.1</version>
  <optional>true</optional>
</dependency>  
  1. After executing test (e.g. mvn test), a logging file (soccf.cov.gz) is generated. You can analyze the logging file to compute coverage values. The format of the logging file is here.