Skip to content
Micky Kim edited this page Jun 24, 2024 · 2 revisions

Cover-checker is divided by modules. Each modules connect with another library(or platform) and implement Interfaces from cover-checker-core module.

cover-checker-core

This module has main behavior of cover-checker.

CoverChecker

The class implements main logic. Read differences between old and new codes by DiffParser and read coverage report by CoverageReportParser. and combine them in NewCoverageChecker and report result by Reporter

Interfaces

  1. DiffParser - read difference for codes between old version and new version.
  2. CoverageReportParser - read coverage report and find out which code has tested.
  3. Reporter - write check result to some other places.

cover-checker-jacoco

Read and parse jacoco report. It implements CoverageReportParser to read jacoco Html, Xml reports.

cover-checker-cobertura

Read and parse cobertura report. It implements CoverageReportParser to read cobertura Xml reports.

cover-checker-github

Read and parse github pull request and write check result comment. It implements DiffReader to read code has changed and Reporter to write check result.

cover-checker-console

Cover-checker application module. It makes package as a jar that can run on shell.

Clone this wiki locally