ilscipio/scipio-erp

View on GitHub
framework/entity/src/org/ofbiz/entity/model/ModelEntity.java

Summary

Maintainability
F
3 days
Test Coverage

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

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

        public StringBuilder fieldsStringList(List<ModelField> flds, StringBuilder sb, String eachString, String separator, boolean appendIndex, boolean onlyNonPK) {
    Severity: Minor
    Found in framework/entity/src/org/ofbiz/entity/model/ModelEntity.java - About 45 mins to fix

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

          public StringBuilder colNameString(StringBuilder sb, String prefix, String separator, String afterLast, boolean alias, ModelField... flds) {
      Severity: Minor
      Found in framework/entity/src/org/ofbiz/entity/model/ModelEntity.java - About 45 mins to fix

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

            public StringBuilder fieldsStringList(StringBuilder sb, String eachString, String separator, boolean appendIndex, boolean onlyNonPK, ModelField... flds) {
        Severity: Minor
        Found in framework/entity/src/org/ofbiz/entity/model/ModelEntity.java - About 45 mins to fix

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

              public StringBuilder colNameString(List<ModelField> flds, StringBuilder sb, String prefix, String separator, String afterLast, boolean alias) {
          Severity: Minor
          Found in framework/entity/src/org/ofbiz/entity/model/ModelEntity.java - About 45 mins to fix

            Method fieldsStringList has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public String fieldsStringList(String eachString, String separator, boolean appendIndex, boolean onlyNonPK, ModelField... flds) {
            Severity: Minor
            Found in framework/entity/src/org/ofbiz/entity/model/ModelEntity.java - About 35 mins to fix

              Method writeEoModelText has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  public void writeEoModelText(PrintWriter writer, String entityPrefix, String helperName, Set<String> entityNameIncludeSet, ModelReader entityModelReader) throws GenericEntityException {
              Severity: Minor
              Found in framework/entity/src/org/ofbiz/entity/model/ModelEntity.java - About 35 mins to fix

                Method fieldsStringList has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    public StringBuilder fieldsStringList(StringBuilder sb, String eachString, String separator, boolean appendIndex, ModelField... flds) {
                Severity: Minor
                Found in framework/entity/src/org/ofbiz/entity/model/ModelEntity.java - About 35 mins to fix

                  Method fieldsStringList has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      public StringBuilder fieldsStringList(List<ModelField> flds, StringBuilder sb, String eachString, String separator, boolean appendIndex) {
                  Severity: Minor
                  Found in framework/entity/src/org/ofbiz/entity/model/ModelEntity.java - About 35 mins to fix

                    Method fieldsStringList has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        public String fieldsStringList(List<ModelField> flds, String eachString, String separator, boolean appendIndex, boolean onlyNonPK) {
                    Severity: Minor
                    Found in framework/entity/src/org/ofbiz/entity/model/ModelEntity.java - About 35 mins to fix

                      There are no issues that match your filters.

                      Category
                      Status