public class CodeCoverage extends Object
Constructor and Description |
---|
CodeCoverage() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static CodeCoverage |
fromCobertura(hudson.plugins.cobertura.CoberturaBuildAction coberturaAction) |
static CodeCoverage |
fromJacoco(hudson.plugins.jacoco.JacocoBuildAction jacocoAction)
Loads code coverage from JaCoCo.
|
float |
getClasses() |
float |
getConditionals() |
float |
getFiles() |
float |
getInstructions() |
float |
getLines() |
float |
getMethods() |
float |
getPackages() |
File |
getReportFile() |
int |
hashCode() |
void |
setClasses(float classes) |
void |
setClasses(hudson.plugins.cobertura.Ratio coverage) |
void |
setConditionals(float conditionals) |
void |
setConditionals(hudson.plugins.cobertura.Ratio coverage) |
void |
setFiles(float files) |
void |
setFiles(hudson.plugins.cobertura.Ratio coverage) |
void |
setInstructions(float instructions) |
void |
setLines(float lines) |
void |
setLines(hudson.plugins.cobertura.Ratio coverage) |
void |
setMethods(float methods) |
void |
setMethods(hudson.plugins.cobertura.Ratio coverage) |
void |
setPackages(float packages) |
void |
setPackages(hudson.plugins.cobertura.Ratio coverage) |
public static CodeCoverage fromCobertura(@Nullable hudson.plugins.cobertura.CoberturaBuildAction coberturaAction)
public static CodeCoverage fromJacoco(@Nullable hudson.plugins.jacoco.JacocoBuildAction jacocoAction)
jacocoAction
- JaCoCo plugin actionpublic File getReportFile()
public float getConditionals()
public void setConditionals(@Nullable hudson.plugins.cobertura.Ratio coverage)
public void setConditionals(float conditionals)
public float getFiles()
public void setFiles(@Nullable hudson.plugins.cobertura.Ratio coverage)
public void setFiles(float files)
public float getLines()
public void setLines(@Nullable hudson.plugins.cobertura.Ratio coverage)
public void setLines(float lines)
public float getClasses()
public void setClasses(@Nullable hudson.plugins.cobertura.Ratio coverage)
public void setClasses(float classes)
public float getMethods()
public void setMethods(@Nullable hudson.plugins.cobertura.Ratio coverage)
public void setMethods(float methods)
public float getPackages()
public void setPackages(@Nullable hudson.plugins.cobertura.Ratio coverage)
public void setPackages(float packages)
public float getInstructions()
public void setInstructions(float instructions)
Copyright © 2016–2020. All rights reserved.