com.atlassian.clover.api.registry.BlockMetrics Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clover Show documentation
Show all versions of clover Show documentation
Clover is an award winning code coverage and testing tool for Java.
It integrates easily with Maven (1 and 2), Ant, Eclipse and IntelliJ-IDEA.
package com.atlassian.clover.api.registry;
/**
*
*/
public interface BlockMetrics {
boolean isEmpty();
HasMetrics getOwner();
String getType();
// cyclomatic complexity
int getComplexity();
float getComplexityDensity();
// statements
int getNumStatements();
int getNumCoveredStatements();
float getPcCoveredStatements();
// branches
int getNumBranches();
int getNumCoveredBranches();
float getPcCoveredBranches();
// elements = statements + branches
int getNumElements();
int getNumCoveredElements();
float getPcCoveredElements();
int getNumUncoveredElements();
float getPcUncoveredElements();
// tests
int getNumTests();
int getNumTestPasses();
int getNumTestFailures();
int getNumTestErrors();
int getNumTestsRun();
float getTestExecutionTime();
float getAvgTestExecutionTime();
float getPcTestPasses();
float getPcTestErrors();
float getPcTestFailures();
float getPcTestPassesFailures();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy