All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlassian.clover.api.registry.BlockMetrics Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 3.3.0
Show newest version
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