All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.bjurr.violations.lib.parsers.JacocoParserSettings Maven / Gradle / Ivy

package se.bjurr.violations.lib.parsers;

public class JacocoParserSettings {
  public static final int DEFAULT_MIN_LINE_COUNT = 4;
  public static final double DEFAULT_MIN_COVERAGE = 0.70;

  private final int minLineCount;
  private final double minCoverage;

  public JacocoParserSettings() {
    this(DEFAULT_MIN_LINE_COUNT, DEFAULT_MIN_COVERAGE);
  }

  public JacocoParserSettings(final int minLineCount, final double minCoverage) {
    this.minLineCount = minLineCount;
    this.minCoverage = minCoverage;
  }

  public double getMinCoverage() {
    return this.minCoverage;
  }

  public int getMinLineCount() {
    return this.minLineCount;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy