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

hudson.plugins.clover.results.AbstractClassAggregatedMetrics Maven / Gradle / Ivy

There is a newer version: 4.1.0
Show newest version
package hudson.plugins.clover.results;

import hudson.model.Build;

/**
 * Clover Coverage results for multiple classes.
 * @author Stephen Connolly
 */
abstract public class AbstractClassAggregatedMetrics extends AbstractCloverMetrics {

    private int classes;
    private int loc;
    private int ncloc;

    abstract public ClassCoverage findClassCoverage(String name);

    /** {@inheritDoc} */
    public int getClasses() {
        return classes;
    }

    /** {@inheritDoc} */
    public void setClasses(int classes) {
        this.classes = classes;
    }

    /** {@inheritDoc} */
    public int getLoc() {
        return loc;
    }

    /** {@inheritDoc} */
    public void setLoc(int loc) {
        this.loc = loc;
    }

    /** {@inheritDoc} */
    public int getNcloc() {
        return ncloc;
    }

    /** {@inheritDoc} */
    public void setNcloc(int ncloc) {
        this.ncloc = ncloc;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy