public class FileData extends CoverageAdapter
| Constructor and Description |
|---|
FileData(java.lang.String uri,
java.util.List<java.lang.Integer> lines,
java.util.List<java.lang.Integer> functions,
java.util.SortedMap<java.lang.Integer,java.util.List<BranchData>> branchData) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCoverage(java.lang.Integer coverage,
int index) |
void |
addFunctionCoverage(java.lang.Integer coverage,
int index) |
void |
calculateBranchStatistics() |
void |
calculateFunctionStatistics() |
void |
calculateLineStatistics() |
int |
getBranchCount() |
java.util.SortedMap<java.lang.Integer,java.util.List<BranchData>> |
getBranchData() |
int |
getBranchesCoveredCount() |
int |
getCodeFunctionCount() |
int |
getCodeFunctionCoveredCount() |
int |
getCodeLineCount() |
int |
getCodeLinesCoveredCount() |
java.util.List<java.lang.Integer> |
getFunctions() |
java.util.List<java.lang.Integer> |
getLines() |
java.lang.String |
getUri() |
getBranchRate, getFunctionCoverRate, getLineCoverRatepublic FileData(java.lang.String uri,
java.util.List<java.lang.Integer> lines,
java.util.List<java.lang.Integer> functions,
java.util.SortedMap<java.lang.Integer,java.util.List<BranchData>> branchData)
public java.lang.String getUri()
public java.util.List<java.lang.Integer> getLines()
public void addCoverage(java.lang.Integer coverage,
int index)
public java.util.SortedMap<java.lang.Integer,java.util.List<BranchData>> getBranchData()
public int getCodeLineCount()
public int getCodeLinesCoveredCount()
public void calculateLineStatistics()
public java.util.List<java.lang.Integer> getFunctions()
public void addFunctionCoverage(java.lang.Integer coverage,
int index)
public int getCodeFunctionCount()
public int getCodeFunctionCoveredCount()
public void calculateFunctionStatistics()
public int getBranchCount()
public int getBranchesCoveredCount()
public void calculateBranchStatistics()