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

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

package com.atlassian.clover.api.registry;

/**
 *
 */
public interface BranchInfo extends ElementInfo, InstrumentationInfo, SourceInfo, HasParent {
    /**
     *
     * @param filter the {@link ContextSet} whereby Contexts to be filtered out are set to 1,
     * and preserved contexts are 0.
     * @return true if this element info is filtered out. i.e. excluded
     */
    public boolean isFiltered(ContextSet filter);

    /**
     * Returns number of hits for the true condition branch.
     *
     * @return int hit count
     */
    public int getTrueHitCount();

    /**
     * Returns number of hits for the false condition branch.
     *
     * @return int hit count
     */
    public int getFalseHitCount();

    /**
     * Whether branch was instrumented or not (due to an assignment in the expression).
     *
     * @return boolean - true if instrumented, false otherwise
     */
    public boolean isInstrumented();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy