ilscipio/scipio-erp

View on GitHub

Showing 5,004 of 5,012 total issues

ShoppingCart has 439 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings("serial")
public class ShoppingCart implements Iterable<ShoppingCartItem>, Serializable {

    private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
    public static final String resource_error = "OrderErrorUiLabels";

    UtilMisc has 257 methods (exceeds 20 allowed). Consider refactoring.
    Open

    public class UtilMisc {
    
        private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
    
        private static final UtilMisc INSTANCE = new UtilMisc(); // SCIPIO: This is for FreeMarkerWorker (only!)
    Severity: Major
    Found in framework/base/src/org/ofbiz/base/util/UtilMisc.java - About 5 days to fix

      OrderReadHelper has 232 methods (exceeds 20 allowed). Consider refactoring.
      Open

      public class OrderReadHelper {
      
          private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
      
          // scales and rounding modes for BigDecimal math
      Severity: Major
      Found in applications/order/src/org/ofbiz/order/order/OrderReadHelper.java - About 4 days to fix

        UtilHttp has 195 methods (exceeds 20 allowed). Consider refactoring.
        Open

        public final class UtilHttp {
        
            private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
        
            public static final String MULTI_ROW_DELIMITER = "_o_"; // SCIPIO: 2018-08: keeping public for backward-compat
        Severity: Major
        Found in framework/base/src/org/ofbiz/base/util/UtilHttp.java - About 3 days to fix

          ShoppingCartItem has 184 methods (exceeds 20 allowed). Consider refactoring.
          Open

          @SuppressWarnings("serial")
          public class ShoppingCartItem implements java.io.Serializable {
          
              private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
              public static final String resource = "OrderUiLabels";

            GenericEntity has 178 methods (exceeds 20 allowed). Consider refactoring.
            Open

            @SuppressWarnings("serial")
            public class GenericEntity implements ScipioMap<String, Object>, LocalizedMap<Object>, Serializable, Comparable<GenericEntity>, Cloneable {
            
                private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
                public static final GenericEntity NULL_ENTITY = new NullGenericEntity();
            Severity: Major
            Found in framework/entity/src/org/ofbiz/entity/GenericEntity.java - About 3 days to fix

              UtilDateTime has 159 methods (exceeds 20 allowed). Consider refactoring.
              Open

              public final class UtilDateTime {
              
                  private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
              
                  /**
              Severity: Major
              Found in framework/base/src/org/ofbiz/base/util/UtilDateTime.java - About 3 days to fix

                ModelEntity has 157 methods (exceeds 20 allowed). Consider refactoring.
                Open

                @SuppressWarnings("serial")
                public class ModelEntity implements Comparable<ModelEntity>, Serializable {
                
                    private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
                
                
                Severity: Major
                Found in framework/entity/src/org/ofbiz/entity/model/ModelEntity.java - About 3 days to fix

                  UtilProperties has 151 methods (exceeds 20 allowed). Consider refactoring.
                  Open

                  @SuppressWarnings("serial")
                  public final class UtilProperties implements Serializable {
                  
                      private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
                  
                  
                  Severity: Major
                  Found in framework/base/src/org/ofbiz/base/util/UtilProperties.java - About 2 days to fix

                    ModelForm has 145 methods (exceeds 20 allowed). Consider refactoring.
                    Open

                    @SuppressWarnings("serial")
                    public abstract class ModelForm extends ModelWidget implements ModelWidget.IdAttrWidget { // SCIPIO: interfaces
                    
                        /*
                         * ----------------------------------------------------------------------- *
                    Severity: Major
                    Found in framework/widget/src/org/ofbiz/widget/model/ModelForm.java - About 2 days to fix

                      Delegator has 138 methods (exceeds 20 allowed). Consider refactoring.
                      Open

                      public interface Delegator {
                      
                          enum OperationType {INSERT, UPDATE, DELETE}
                      
                          /**
                      Severity: Major
                      Found in framework/entity/src/org/ofbiz/entity/Delegator.java - About 2 days to fix

                        GenericDelegator has 136 methods (exceeds 20 allowed). Consider refactoring.
                        Open

                        public class GenericDelegator implements Delegator {
                        
                            private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
                        
                            protected ModelReader modelReader = null;
                        Severity: Major
                        Found in framework/entity/src/org/ofbiz/entity/GenericDelegator.java - About 2 days to fix

                          ModelMenu has 131 methods (exceeds 20 allowed). Consider refactoring.
                          Open

                          @SuppressWarnings("serial")
                          public class ModelMenu extends ModelMenuCommon implements ModelWidget.IdAttrWidget { // SCIPIO: new comon base class to share with sub-menu
                          
                              /*
                               * ----------------------------------------------------------------------- *
                          Severity: Major
                          Found in framework/widget/src/org/ofbiz/widget/model/ModelMenu.java - About 2 days to fix

                            UtilCache has 127 methods (exceeds 20 allowed). Consider refactoring.
                            Open

                            @SuppressWarnings("serial")
                            public class UtilCache<K, V> implements Serializable, EvictionListener<Object, CacheLine<V>> {
                            
                                public static final String SEPARATOR = "::";    // cache key separator
                                public static final Pattern SEPARATOR_PAT = Pattern.compile(SEPARATOR); // SCIPIO: 2.1.0: Added
                            Severity: Major
                            Found in framework/base/src/org/ofbiz/base/util/cache/UtilCache.java - About 2 days to fix

                              Debug has 126 methods (exceeds 20 allowed). Consider refactoring.
                              Open

                              public final class Debug {
                              
                                  private static final String noModuleModule = "NoModule";  // set to null for previous behavior
                                  private static final Object[] emptyParams = new Object[0];
                              
                              
                              Severity: Major
                              Found in framework/base/src/org/ofbiz/base/util/Debug.java - About 2 days to fix

                                UtilValidate has 125 methods (exceeds 20 allowed). Consider refactoring.
                                Open

                                public final class UtilValidate {
                                
                                    //private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
                                
                                    private UtilValidate() {}
                                Severity: Major
                                Found in framework/base/src/org/ofbiz/base/util/UtilValidate.java - About 2 days to fix

                                  SeoCatalogUrlWorker has 125 methods (exceeds 20 allowed). Consider refactoring.
                                  Open

                                  @SuppressWarnings("serial")
                                  public class SeoCatalogUrlWorker implements Serializable {
                                  
                                      private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
                                  
                                  

                                    ProductWorker has 124 methods (exceeds 20 allowed). Consider refactoring.
                                    Open

                                    public final class ProductWorker {
                                    
                                        private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
                                        public static final String resource = "ProductUiLabels";
                                    
                                    
                                    Severity: Major
                                    Found in applications/product/src/org/ofbiz/product/product/ProductWorker.java - About 2 days to fix

                                      ModelService has 123 methods (exceeds 20 allowed). Consider refactoring.
                                      Open

                                      @SuppressWarnings("serial")
                                      public class ModelService extends AbstractMap<String, Object> implements Serializable {
                                      
                                          private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
                                      
                                      
                                      Severity: Major
                                      Found in framework/service/src/org/ofbiz/service/ModelService.java - About 2 days to fix

                                        LangFtlUtil has 121 methods (exceeds 20 allowed). Consider refactoring.
                                        Open

                                        public abstract class LangFtlUtil {
                                        
                                            private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
                                        
                                            // NOTE: there's no _real_ need to synchronize on these. if two templates are built for one builtin its not big deal.
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language