Class VectorCASTCoverageResultSummary


  • public class VectorCASTCoverageResultSummary
    extends Object
    Summary of the VectorCAST Coverage result.
    • 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 Job
        lBasisPathCoverage - basis path coverage
        lMCDCCoverage - MCDC coverage
        lBranchCoverage - branch coverage
        lFunctionCoverage - function coverage
        lFunctionCallCoverage - function call coverage
        lStatementCoverage - statement coverage
        lComplexity - complexity
    • Method Detail

      • 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
      • setCoverageResults

        public void setCoverageResults​(List<VectorCASTCoverageResultSummary> coverageResults)
        Parameters:
        coverageResults - the list of coverage results to set