silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

SPermSetDao has 26 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class SPermSetDao extends AbstractVertxDAO<SPermSetRecord, cn.vertxup.rbac.domain.tables.pojos.SPermSet, String, Future<List<cn.vertxup.rbac.domain.tables.pojos.SPermSet>>, Future<cn.vertxup.rbac.domain.tables.pojos.SPermSet>, Future<Integer>, Future<String>> implements io.github.jklingsporn.vertx.jooq.classic.VertxDAO<SPermSetRecord,cn.vertxup.rbac.domain.tables.pojos.SPermSet,String> {

        /**
     * @param configuration The Configuration used for rendering and query

    MRelationDao has 26 methods (exceeds 20 allowed). Consider refactoring.
    Open

    @SuppressWarnings({ "all", "unchecked", "rawtypes" })
    public class MRelationDao extends AbstractVertxDAO<MRelationRecord, cn.vertxup.atom.domain.tables.pojos.MRelation, String, Future<List<cn.vertxup.atom.domain.tables.pojos.MRelation>>, Future<cn.vertxup.atom.domain.tables.pojos.MRelation>, Future<Integer>, Future<String>> implements io.github.jklingsporn.vertx.jooq.classic.VertxDAO<MRelationRecord,cn.vertxup.atom.domain.tables.pojos.MRelation,String> {
    
            /**
         * @param configuration The Configuration used for rendering and query

      Builder has 26 methods (exceeds 20 allowed). Consider refactoring.
      Open

          public static final class Builder extends
              com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
              // @@protoc_insertion_point(builder_implements:io.vertx.mod.ipc.eon.ResponseParams)
              io.vertx.mod.ipc.eon.ResponseParamsOrBuilder {
              public static final com.google.protobuf.Descriptors.Descriptor

        File UiLayout.java has 291 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        /*
         * This file is generated by jOOQ.
         */
        package cn.vertxup.ui.domain.tables.pojos;
        
        

          File TVendorAssessment.java has 291 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /*
           * This file is generated by jOOQ.
           */
          package cn.vertxup.erp.domain.tables.pojos;
          
          

            File TOaTrip.java has 291 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            /*
             * This file is generated by jOOQ.
             */
            package cn.vertxup.erp.domain.tables.pojos;
            
            

              File TVendorHour.java has 291 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              /*
               * This file is generated by jOOQ.
               */
              package cn.vertxup.erp.domain.tables.pojos;
              
              

                Method equals has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    @Override
                    public boolean equals(Object obj) {
                        if (this == obj)
                            return true;
                        if (obj == null)

                  Method attachConfig has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      private Future<JsonArray> attachConfig(final JsonArray fieldJson) {
                          /*
                           * metadata mode for parsing processor
                           */
                          final JsonArray ui = new JsonArray();

                    Method equals has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        @Override
                        public boolean equals(Object obj) {
                            if (this == obj)
                                return true;
                            if (obj == null)

                      Method equals has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          @Override
                          public boolean equals(Object obj) {
                              if (this == obj)
                                  return true;
                              if (obj == null)

                        Method equals has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            @Override
                            public boolean equals(Object obj) {
                                if (this == obj)
                                    return true;
                                if (obj == null)

                          File OUser.java has 290 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          /*
                           * This file is generated by jOOQ.
                           */
                          package cn.vertxup.rbac.domain.tables.pojos;
                          
                          

                            Method equals has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                @Override
                                public boolean equals(Object obj) {
                                    if (this == obj)
                                        return true;
                                    if (obj == null)

                              Method getJarFiles has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring.
                              Open

                                  private static List<String> getJarFiles(final JarFile jarFile, final String folder, final String extension) {
                                      final List<String> retList = new ArrayList<>();
                                      final Enumeration<JarEntry> entities = jarFile.entries();
                                      while (entities.hasMoreElements()) {
                                          final JarEntry entry = entities.nextElement();
                              Severity: Minor
                              Found in vertx-gaia/vertx-ams/src/main/java/io/horizon/util/IoDirectory.java - About 2 hrs to fix

                              Cognitive Complexity

                              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                              A method's cognitive complexity is based on a few simple rules:

                              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                              • Code is considered more complex for each "break in the linear flow of the code"
                              • Code is considered more complex when "flow breaking structures are nested"

                              Further reading

                              Method getValue has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring.
                              Open

                                  static Object getValue(final Cell cell, final Class<?> type, final FormulaEvaluator evaluator) {
                                      /*
                                       * BLANK / ERROR Processed first to processed
                                       */
                                      final CellType cellType = cell.getCellType();

                              Cognitive Complexity

                              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                              A method's cognitive complexity is based on a few simple rules:

                              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                              • Code is considered more complex for each "break in the linear flow of the code"
                              • Code is considered more complex when "flow breaking structures are nested"

                              Further reading

                              Similar blocks of code found in 4 locations. Consider refactoring.
                              Open

                              package io.vertx.mod.rbac.authorization.inherit;
                              
                              import io.vertx.core.json.JsonObject;
                              import io.vertx.mod.rbac.authorization.Align;
                              import io.vertx.mod.rbac.authorization.Amalgam;
                              vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/authorization/extend/GeCritical.java on lines 1..76
                              vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/authorization/extend/GeOverlook.java on lines 1..71
                              vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/authorization/inherit/GiOverlook.java on lines 1..72

                              Duplicated Code

                              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                              Tuning

                              This issue has a mass of 181.

                              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                              Refactorings

                              Further Reading

                              Similar blocks of code found in 4 locations. Consider refactoring.
                              Open

                              package io.vertx.mod.rbac.authorization.extend;
                              
                              import io.vertx.core.json.JsonObject;
                              import io.vertx.mod.rbac.authorization.Align;
                              import io.vertx.mod.rbac.authorization.Amalgam;
                              vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/authorization/extend/GeCritical.java on lines 1..76
                              vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/authorization/inherit/GiCritical.java on lines 1..76
                              vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/authorization/inherit/GiOverlook.java on lines 1..72

                              Duplicated Code

                              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                              Tuning

                              This issue has a mass of 181.

                              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                              Refactorings

                              Further Reading

                              Similar blocks of code found in 4 locations. Consider refactoring.
                              Open

                              package io.vertx.mod.rbac.authorization.inherit;
                              
                              import io.vertx.core.json.JsonObject;
                              import io.vertx.mod.rbac.authorization.Align;
                              import io.vertx.mod.rbac.authorization.Amalgam;
                              vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/authorization/extend/GeCritical.java on lines 1..76
                              vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/authorization/extend/GeOverlook.java on lines 1..71
                              vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/authorization/inherit/GiCritical.java on lines 1..76

                              Duplicated Code

                              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                              Tuning

                              This issue has a mass of 181.

                              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                              Refactorings

                              Further Reading

                              Similar blocks of code found in 4 locations. Consider refactoring.
                              Open

                              package io.vertx.mod.rbac.authorization.extend;
                              
                              import io.vertx.core.json.JsonObject;
                              import io.vertx.mod.rbac.authorization.Align;
                              import io.vertx.mod.rbac.authorization.Amalgam;
                              vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/authorization/extend/GeOverlook.java on lines 1..71
                              vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/authorization/inherit/GiCritical.java on lines 1..76
                              vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/authorization/inherit/GiOverlook.java on lines 1..72

                              Duplicated Code

                              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                              Tuning

                              This issue has a mass of 181.

                              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                              Refactorings

                              Further Reading

                              Severity
                              Category
                              Status
                              Source
                              Language