silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

Method values has 19 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public XActivityRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, String value9, String value10, String value11, String value12, String value13, Boolean value14, String value15, LocalDateTime value16, String value17, LocalDateTime value18, String value19) {

    Method values has 19 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public FPaymentRecord values(String value1, String value2, String value3, String value4, BigDecimal value5, String value6, String value7, String value8, String value9, String value10, Boolean value11, String value12, String value13, Boolean value14, String value15, LocalDateTime value16, String value17, LocalDateTime value18, String value19) {

      Method values has 19 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public FPayTermRecord values(String value1, String value2, String value3, String value4, String value5, String value6, Boolean value7, String value8, String value9, String value10, Boolean value11, String value12, String value13, Boolean value14, String value15, LocalDateTime value16, String value17, LocalDateTime value18, String value19) {

        Method connect has 59 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            private JsonObject connect(final XApp app, final XSource source) {
                final JsonObject normalized = new JsonObject();
                /* ID */
                {
                    /*

          File IsDir.java has 265 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          package io.vertx.mod.is.refine;
          
          import cn.vertxup.integration.domain.tables.daos.IDirectoryDao;
          import cn.vertxup.integration.domain.tables.pojos.IDirectory;
          import io.horizon.atom.common.Kv;
          Severity: Minor
          Found in vertx-pin/zero-is/src/main/modulat/io/vertx/mod/is/refine/IsDir.java - About 2 hrs to fix

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

                protected <T, R> T writeAsync(final List<CMessage> messages, final ProceedingJoinPoint point) {
                    /*
                     * Get method definition
                     */
                    final Method method = L1Analyzer.method(point);
            vertx-gaia/vertx-up/src/main/jib/io/vertx/up/uca/jooq/cache/L1AsideReading.java on lines 70..97

            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 151.

            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 2 locations. Consider refactoring.
            Open

                protected <T> T readAsync(final CMessage message, final ProceedingJoinPoint point) {
                    /*
                     * Get method definition
                     */
                    final Method method = L1Analyzer.method(point);
            vertx-gaia/vertx-up/src/main/jib/io/vertx/up/uca/jooq/cache/L1AsideWriting.java on lines 20..47

            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 151.

            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

            File WTicketDao.java has 264 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            /*
             * This file is generated by jOOQ.
             */
            package cn.vertxup.workflow.domain.tables.daos;
            
            

              File EIdentityDao.java has 264 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

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

                UxJoin has 22 methods (exceeds 20 allowed). Consider refactoring.
                Open

                @SuppressWarnings("all")
                public final class UxJoin {
                
                    private transient final JsonObject configuration = new JsonObject();
                    private transient final JoinEngine joinder = new JoinEngine();
                Severity: Minor
                Found in vertx-gaia/vertx-up/src/main/jib/io/vertx/up/uca/jooq/UxJoin.java - About 2 hrs to fix

                  Jackson has 22 methods (exceeds 20 allowed). Consider refactoring.
                  Open

                  @SuppressWarnings("all")
                  final class Jackson {
                      private static final Annal LOGGER = Annal.get(Jackson.class);
                  
                      private Jackson() {
                  Severity: Minor
                  Found in vertx-gaia/vertx-co/src/main/java/io/vertx/up/util/Jackson.java - About 2 hrs to fix

                    UiLayoutDao has 22 methods (exceeds 20 allowed). Consider refactoring.
                    Open

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

                      IUiVisitor has 22 methods (exceeds 20 allowed). Consider refactoring.
                      Open

                      @SuppressWarnings({ "all", "unchecked", "rawtypes" })
                      public interface IUiVisitor extends VertxPojo, Serializable {
                      
                          /**
                           * Setter for <code>DB_ETERNAL.UI_VISITOR.IDENTIFIER</code>. 「identifier」-

                        TVendorHourDao has 22 methods (exceeds 20 allowed). Consider refactoring.
                        Open

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

                          TVendorAssessmentDao has 22 methods (exceeds 20 allowed). Consider refactoring.
                          Open

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

                            ITOaVacation has 22 methods (exceeds 20 allowed). Consider refactoring.
                            Open

                            @SuppressWarnings({ "all", "unchecked", "rawtypes" })
                            public interface ITOaVacation extends VertxPojo, Serializable {
                            
                                /**
                                 * Setter for <code>DB_ETERNAL.T_OA_VACATION.KEY</code>. 「key」- Ticket

                              TOaTripDao has 22 methods (exceeds 20 allowed). Consider refactoring.
                              Open

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

                                Sc has 22 methods (exceeds 20 allowed). Consider refactoring.
                                Open

                                public class Sc {
                                
                                    /*
                                     * cache information
                                     * 1. Code: Authorization Code Cache Pool
                                Severity: Minor
                                Found in vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/refine/Sc.java - About 2 hrs to fix

                                  OUserDao has 22 methods (exceeds 20 allowed). Consider refactoring.
                                  Open

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

                                    Is has 22 methods (exceeds 20 allowed). Consider refactoring.
                                    Open

                                    public class Is {
                                        /*
                                         * Trash Path calculation
                                         */
                                        public static Kv<String, String> trashIn(final IDirectory directory) {
                                    Severity: Minor
                                    Found in vertx-pin/zero-is/src/main/modulat/io/vertx/mod/is/refine/Is.java - About 2 hrs to fix
                                      Severity
                                      Category
                                      Status
                                      Source
                                      Language