lu.uni.serval.ikora.smells.utils.StatementCounter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ikora-smells Show documentation
Show all versions of ikora-smells Show documentation
Package performing smell detection on the Robot Framework language.
package lu.uni.serval.ikora.smells.utils;
import lu.uni.serval.ikora.core.analytics.KeywordStatistics;
import lu.uni.serval.ikora.core.model.TestCase;
import java.util.HashMap;
import java.util.Map;
public class StatementCounter {
private static final Map cache = new HashMap<>();
private StatementCounter() {}
public static int getCount(TestCase testCase){
return cache.computeIfAbsent(testCase, KeywordStatistics::getStatementCount);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy