Class VectorCASTCoverageResultSummary
- java.lang.Object
-
- com.vectorcast.plugins.vectorcastcoverage.portlet.bean.VectorCASTCoverageResultSummary
-
public class VectorCASTCoverageResultSummary extends Object
Summary of the VectorCAST Coverage result.
-
-
Constructor Summary
Constructors Constructor Description VectorCASTCoverageResultSummary()
Default Constructor.VectorCASTCoverageResultSummary(Job job, float lBasisPathCoverage, float lMCDCCoverage, float lBranchCoverage, float lStatementCoverage, float lFunctionCoverage, float lFunctionCallCoverage, float lComplexity)
Constructor with parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorCASTCoverageResultSummary
addCoverageResult(VectorCASTCoverageResultSummary coverageResult)
Add a coverage result.float
getBasisPathCoverage()
float
getBranchCoverage()
float
getComplexity()
List<VectorCASTCoverageResultSummary>
getCoverageResults()
float
getFunctionCallCoverage()
float
getFunctionCoverage()
Job
getJob()
float
getMCDCCoverage()
float
getStatementCoverage()
float
getTotalBasisPathCoverage()
Getter of the total of basisPath coverage.float
getTotalBranchCoverage()
Get the total branch coveragefloat
getTotalComplexity()
Get the total complexityfloat
getTotalFunctionCallCoverage()
Getter of the total of function call coverage.float
getTotalFunctionCoverage()
Getter of the total of function coverage.float
getTotalMCDCCoverage()
Getter of the total of MCDC coverage.float
getTotalStatementCoverage()
Getter of the total of class coverage.List<VectorCASTCoverageResultSummary>
getVectorCASTCoverageResults()
Get list of VectorCASTCoverageResultSummary objects.boolean
hasBasisPathCoverage()
boolean
hasBranchCoverage()
boolean
hasComplexity()
boolean
hasFunctionCallCoverage()
boolean
hasFunctionCoverage()
boolean
hasMCDCCoverage()
boolean
hasStatementCoverage()
void
setBasisPathCoverage(float BasisPathCoverage)
void
setBranchCoverage(float BranchCoverage)
void
setComplexity(float Complexity)
void
setCoverageResults(List<VectorCASTCoverageResultSummary> coverageResults)
void
setFunctionCallCoverage(float FunctionCallCoverage)
void
setFunctionCoverage(float FunctionCoverage)
void
setJob(Job job)
void
setMCDCCoverage(float MCDCCoverage)
void
setStatementCoverage(float StatementCoverage)
-
-
-
Constructor Detail
-
VectorCASTCoverageResultSummary
public VectorCASTCoverageResultSummary()
Default Constructor.
-
VectorCASTCoverageResultSummary
public VectorCASTCoverageResultSummary(Job job, float lBasisPathCoverage, float lMCDCCoverage, float lBranchCoverage, float lStatementCoverage, float lFunctionCoverage, float lFunctionCallCoverage, float lComplexity)
Constructor with parameters.- Parameters:
job
- the related JoblBasisPathCoverage
- basis path coveragelMCDCCoverage
- MCDC coveragelBranchCoverage
- branch coveragelFunctionCoverage
- function coveragelFunctionCallCoverage
- function call coveragelStatementCoverage
- statement coveragelComplexity
- complexity
-
-
Method Detail
-
addCoverageResult
public VectorCASTCoverageResultSummary addCoverageResult(VectorCASTCoverageResultSummary coverageResult)
Add a coverage result.- Parameters:
coverageResult
- a coverage result- Returns:
- VectorCASTCoverageResultSummary summary of the VectorCAST coverage result
-
getVectorCASTCoverageResults
public List<VectorCASTCoverageResultSummary> getVectorCASTCoverageResults()
Get list of VectorCASTCoverageResultSummary objects.- Returns:
- List a List of VectorCASTCoverageResultSummary objects
-
getTotalStatementCoverage
public float getTotalStatementCoverage()
Getter of the total of class coverage.- Returns:
- float the total of class coverage.
-
getTotalComplexity
public float getTotalComplexity()
Get the total complexity- Returns:
- total complexity
-
getTotalBranchCoverage
public float getTotalBranchCoverage()
Get the total branch coverage- Returns:
- total branch coverage
-
getTotalBasisPathCoverage
public float getTotalBasisPathCoverage()
Getter of the total of basisPath coverage.- Returns:
- float the total of basisPath coverage.
-
getTotalMCDCCoverage
public float getTotalMCDCCoverage()
Getter of the total of MCDC coverage.- Returns:
- float the total of MCDC coverage.
-
getTotalFunctionCoverage
public float getTotalFunctionCoverage()
Getter of the total of function coverage.- Returns:
- float the total of branch coverage.
-
getTotalFunctionCallCoverage
public float getTotalFunctionCallCoverage()
Getter of the total of function call coverage.- Returns:
- float the total of function call coverage.
-
getJob
public Job getJob()
- Returns:
- Job a job
-
getBasisPathCoverage
public float getBasisPathCoverage()
- Returns:
- the BasisPathCoverage
-
getComplexity
public float getComplexity()
- Returns:
- the BasisPathCoverage
-
getMCDCCoverage
public float getMCDCCoverage()
- Returns:
- the MCDCCoverage
-
getFunctionCoverage
public float getFunctionCoverage()
- Returns:
- the FunctionCoverage
-
getFunctionCallCoverage
public float getFunctionCallCoverage()
- Returns:
- the FunctionCallCoverage
-
getBranchCoverage
public float getBranchCoverage()
- Returns:
- the BranchCoverage
-
getStatementCoverage
public float getStatementCoverage()
- Returns:
- the StatementCoverage
-
hasStatementCoverage
public boolean hasStatementCoverage()
-
hasComplexity
public boolean hasComplexity()
-
hasBranchCoverage
public boolean hasBranchCoverage()
-
hasBasisPathCoverage
public boolean hasBasisPathCoverage()
-
hasMCDCCoverage
public boolean hasMCDCCoverage()
-
hasFunctionCoverage
public boolean hasFunctionCoverage()
-
hasFunctionCallCoverage
public boolean hasFunctionCallCoverage()
-
setJob
public void setJob(Job job)
- Parameters:
job
- the job to set
-
setBasisPathCoverage
public void setBasisPathCoverage(float BasisPathCoverage)
- Parameters:
BasisPathCoverage
- the BasisPathCoverage to set
-
setComplexity
public void setComplexity(float Complexity)
-
setMCDCCoverage
public void setMCDCCoverage(float MCDCCoverage)
- Parameters:
MCDCCoverage
- the MCDCCoverage to set
-
setBranchCoverage
public void setBranchCoverage(float BranchCoverage)
- Parameters:
BranchCoverage
- the BranchCoverage to set
-
setFunctionCoverage
public void setFunctionCoverage(float FunctionCoverage)
- Parameters:
FunctionCoverage
- the FunctionCoverage to set
-
setFunctionCallCoverage
public void setFunctionCallCoverage(float FunctionCallCoverage)
- Parameters:
FunctionCallCoverage
- the FunctionCallCoverage to set
-
setStatementCoverage
public void setStatementCoverage(float StatementCoverage)
- Parameters:
StatementCoverage
- the StatementCoverage to set
-
getCoverageResults
public List<VectorCASTCoverageResultSummary> getCoverageResults()
- Returns:
- a list of coverage results
-
setCoverageResults
public void setCoverageResults(List<VectorCASTCoverageResultSummary> coverageResults)
- Parameters:
coverageResults
- the list of coverage results to set
-
-