Class VectorCASTLoadData
- java.lang.Object
-
- com.vectorcast.plugins.vectorcastcoverage.portlet.VectorCASTLoadData
-
public final class VectorCASTLoadData extends Object
Load data of VectorCAST coverage results used by chart or grid.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static IntegergetMaxHistory(Job<?,?> job)protected static IntegergetMaxHistoryFreestyleJob(String xml)protected static IntegergetMaxHistoryPipelineJob(String xml)static VectorCASTCoverageResultSummarygetResultSummary(Collection<Job> jobs)Summarize the last coverage results of all jobs, which have coverage.static booleanhasBasisPathCoverage(Collection<Job> jobs)static booleanhasBranchCoverage(Collection<Job> jobs)static booleanhasComplexity(Collection<Job> jobs)static booleanhasFunctionCallCoverage(Collection<Job> jobs)static booleanhasFunctionCoverage(Collection<Job> jobs)static booleanhasMCDCCoverage(Collection<Job> jobs)static booleanhasStatementCoverage(Collection<Job> jobs)static Map<LocalDate,VectorCASTCoverageResultSummary>loadChartDataWithinRange(List<Job> jobs, int daysNumber)Get VcastCoverage coverage results of all jobs and store into a sorted HashMap by date.
-
-
-
Method Detail
-
loadChartDataWithinRange
public static Map<LocalDate,VectorCASTCoverageResultSummary> loadChartDataWithinRange(List<Job> jobs, int daysNumber)
Get VcastCoverage coverage results of all jobs and store into a sorted HashMap by date.- Parameters:
jobs- jobs of Dashboard viewdaysNumber- number of days- Returns:
- Map The sorted summaries
-
getResultSummary
public static VectorCASTCoverageResultSummary getResultSummary(Collection<Job> jobs)
Summarize the last coverage results of all jobs, which have coverage.- Parameters:
jobs- a final Collection of Job objects- Returns:
- VectorCASTCoverageResultSummary the result summary
-
hasStatementCoverage
public static boolean hasStatementCoverage(Collection<Job> jobs)
-
hasBranchCoverage
public static boolean hasBranchCoverage(Collection<Job> jobs)
-
hasComplexity
public static boolean hasComplexity(Collection<Job> jobs)
-
hasBasisPathCoverage
public static boolean hasBasisPathCoverage(Collection<Job> jobs)
-
hasMCDCCoverage
public static boolean hasMCDCCoverage(Collection<Job> jobs)
-
hasFunctionCoverage
public static boolean hasFunctionCoverage(Collection<Job> jobs)
-
hasFunctionCallCoverage
public static boolean hasFunctionCallCoverage(Collection<Job> jobs)
-
-