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

org.pitest.coverage.NoCoverage Maven / Gradle / Ivy

There is a newer version: 1.17.1
Show newest version
package org.pitest.coverage;

import org.pitest.classinfo.ClassName;

import java.math.BigInteger;
import java.util.Collection;
import java.util.Collections;
import java.util.Set;

public class NoCoverage implements CoverageDatabase {
    @Override
    public ClassLines getCodeLinesForClass(ClassName clazz) {
        return new ClassLines(clazz, Collections.emptySet());
    }

    @Override
    public Set getCoveredLines(ClassName clazz) {
        return Collections.emptySet();
    }

    @Override
    public Collection getTestsForClass(ClassName clazz) {
        return Collections.emptyList();
    }

    @Override
    public Collection getTestsForBlockLocation(BlockLocation location) {
        return Collections.emptyList();
    }

    @Override
    public BigInteger getCoverageIdForClass(ClassName clazz) {
        return BigInteger.ZERO;
    }

    @Override
    public Collection getClassesForFile(String sourceFile, String packageName) {
        return Collections.emptyList();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy