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

lu.uni.serval.ikora.smells.SmellResult Maven / Gradle / Ivy

package lu.uni.serval.ikora.smells;

import lu.uni.serval.ikora.core.model.SourceNode;

import java.util.Set;

public class SmellResult {
    final SmellMetric metric;
    final Set nodes;

    public SmellResult(SmellMetric.Type type, double rawValue, double normalizedValue, Set nodes) {
        this.metric = new SmellMetric(type, rawValue, normalizedValue);
        this.nodes = nodes;
    }

    public SmellMetric.Type getType(){
        return this.metric.getType();
    }

    public double getRawValue(){
        return this.metric.getRawValue();
    }

    public double getNormalizedValue(){
        return this.metric.getNormalizedValue();
    }

    public Set getNodes(){
        return this.nodes;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy