silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

Method equals has 206 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 206 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

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

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

      /*
       * This file is generated by jOOQ.
       */
      package cn.vertxup.erp.domain.tables.interfaces;
      
      
      vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/tables/interfaces/ITOaTrip.java on lines 1..195

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

      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

      /*
       * This file is generated by jOOQ.
       */
      package cn.vertxup.erp.domain.tables.interfaces;
      
      
      vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/tables/interfaces/ITVendorAssessment.java on lines 1..201

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

      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 PBuyOrderRecord.java has 507 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /*
       * This file is generated by jOOQ.
       */
      package cn.vertxup.psi.domain.tables.records;
      
      

        UiColumn has 57 methods (exceeds 20 allowed). Consider refactoring.
        Open

        @SuppressWarnings({ "all", "unchecked", "rawtypes" })
        public class UiColumn implements VertxPojo, IUiColumn {
        
            private static final long serialVersionUID = 1L;
        
        

          EEmployee has 57 methods (exceeds 20 allowed). Consider refactoring.
          Open

          @SuppressWarnings({ "all", "unchecked", "rawtypes" })
          public class EEmployee implements VertxPojo, IEEmployee {
          
              private static final long serialVersionUID = 1L;
          
          

            SPath has 57 methods (exceeds 20 allowed). Consider refactoring.
            Open

            @SuppressWarnings({ "all", "unchecked", "rawtypes" })
            public class SPath implements VertxPojo, ISPath {
            
                private static final long serialVersionUID = 1L;
            
            

              XAttachment has 57 methods (exceeds 20 allowed). Consider refactoring.
              Open

              @SuppressWarnings({ "all", "unchecked", "rawtypes" })
              public class XAttachment implements VertxPojo, IXAttachment {
              
                  private static final long serialVersionUID = 1L;
              
              

                File LCountryRecord.java has 503 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                /*
                 * This file is generated by jOOQ.
                 */
                package cn.vertxup.lbs.domain.tables.records;
                
                

                  File SGroupRecord.java has 503 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

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

                    File XModuleRecord.java has 503 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    /*
                     * This file is generated by jOOQ.
                     */
                    package cn.vertxup.ambient.domain.tables.records;
                    
                    

                      File MyBagRecord.java has 503 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      /*
                       * This file is generated by jOOQ.
                       */
                      package cn.vertxup.tpl.domain.tables.records;
                      
                      

                        File MEntityRecord.java has 503 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        /*
                         * This file is generated by jOOQ.
                         */
                        package cn.vertxup.atom.domain.tables.records;
                        
                        

                          File MIndexRecord.java has 503 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          /*
                           * This file is generated by jOOQ.
                           */
                          package cn.vertxup.atom.domain.tables.records;
                          
                          

                            File VTableRecord.java has 502 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

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

                              IUiColumn has 56 methods (exceeds 20 allowed). Consider refactoring.
                              Open

                              @SuppressWarnings({ "all", "unchecked", "rawtypes" })
                              public interface IUiColumn extends VertxPojo, Serializable {
                              
                                  /**
                                   * Setter for <code>DB_ETERNAL.UI_COLUMN.KEY</code>. 「key」- 列主键

                                WFlowDao has 56 methods (exceeds 20 allowed). Consider refactoring.
                                Open

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

                                  IEEmployee has 56 methods (exceeds 20 allowed). Consider refactoring.
                                  Open

                                  @SuppressWarnings({ "all", "unchecked", "rawtypes" })
                                  public interface IEEmployee extends VertxPojo, Serializable {
                                  
                                      /**
                                       * Setter for <code>DB_ETERNAL.E_EMPLOYEE.KEY</code>. 「key」- 员工主键

                                    IJobDao has 56 methods (exceeds 20 allowed). Consider refactoring.
                                    Open

                                    @SuppressWarnings({ "all", "unchecked", "rawtypes" })
                                    public class IJobDao extends AbstractVertxDAO<IJobRecord, cn.vertxup.jet.domain.tables.pojos.IJob, String, Future<List<cn.vertxup.jet.domain.tables.pojos.IJob>>, Future<cn.vertxup.jet.domain.tables.pojos.IJob>, Future<Integer>, Future<String>> implements io.github.jklingsporn.vertx.jooq.classic.VertxDAO<IJobRecord,cn.vertxup.jet.domain.tables.pojos.IJob,String> {
                                    
                                            /**
                                         * @param configuration The Configuration used for rendering and query
                                      Severity
                                      Category
                                      Status
                                      Source
                                      Language