se.bjurr.violations.lib.parsers.JacocoParserSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of violations-lib Show documentation
Show all versions of violations-lib Show documentation
Library for parsing report files from static code analyzis.
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 - 2025 Weber Informatics LLC | Privacy Policy