ilscipio/scipio-erp

View on GitHub
framework/base/src/org/ofbiz/base/util/GroovyUtil.java

Summary

Maintainability
A
3 hrs
Test Coverage

GroovyUtil has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

public class GroovyUtil {

    private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());

    private static final UtilCache<String, Class<?>> parsedScripts = UtilCache.createUtilCache("script.GroovyLocationParsedCache", 0, 0, false);
Severity: Minor
Found in framework/base/src/org/ofbiz/base/util/GroovyUtil.java - About 2 hrs to fix

    Method eval has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public static Object eval(String expression, Map<String, Object> context,
                GroovyLangVariant langVariant, boolean convertOperators, boolean bindingToContext, boolean useCache) throws CompilationFailedException {
    Severity: Minor
    Found in framework/base/src/org/ofbiz/base/util/GroovyUtil.java - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status