silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

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

@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public interface ISPath extends VertxPojo, Serializable {

    /**
     * Setter for <code>DB_ETERNAL.S_PATH.KEY</code>. 「key」- 规则主键

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

    @SuppressWarnings({ "all", "unchecked", "rawtypes" })
    public interface IXAttachment extends VertxPojo, Serializable {
    
        /**
         * Setter for <code>DB_ETERNAL.X_ATTACHMENT.KEY</code>. 「key」- 附件的ID值

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

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

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

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

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

          /*
           * This file is generated by jOOQ.
           */
          package cn.vertxup.battery.domain.tables.daos;
          
          
          vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/tables/daos/BComponentDao.java on lines 1..206
          vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/tables/daos/BWebDao.java on lines 1..206

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

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

          /*
           * This file is generated by jOOQ.
           */
          package cn.vertxup.battery.domain.tables.daos;
          
          
          vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/tables/daos/BAuthorityDao.java on lines 1..207
          vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/tables/daos/BWebDao.java on lines 1..206

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

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

          /*
           * This file is generated by jOOQ.
           */
          package cn.vertxup.battery.domain.tables.daos;
          
          
          vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/tables/daos/BAuthorityDao.java on lines 1..207
          vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/tables/daos/BComponentDao.java on lines 1..206

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

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

          // Generated by the protocol buffer compiler.  DO NOT EDIT!
          // source: zero.status.proto
          
          package io.vertx.mod.ipc.eon;
          
          

            File StreamServerResponse.java has 494 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            // Generated by the protocol buffer compiler.  DO NOT EDIT!
            // source: zero.stream.proto
            
            package io.vertx.mod.ipc.eon;
            
            

              _Is has 55 methods (exceeds 20 allowed). Consider refactoring.
              Open

              class _Is extends _Io {
                  protected _Is() {
                  }
              
                  // ---------------- 判断函数:空/非空
              Severity: Major
              Found in vertx-gaia/vertx-ams/src/main/java/io/horizon/util/_Is.java - About 7 hrs to fix

                UiColumnRecord has 55 methods (exceeds 20 allowed). Consider refactoring.
                Open

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

                  EEmployeeRecord has 55 methods (exceeds 20 allowed). Consider refactoring.
                  Open

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

                    SPathRecord has 55 methods (exceeds 20 allowed). Consider refactoring.
                    Open

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

                      XAttachmentRecord has 55 methods (exceeds 20 allowed). Consider refactoring.
                      Open

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

                        PBuyTicket has 55 methods (exceeds 20 allowed). Consider refactoring.
                        Open

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

                          PPos has 55 methods (exceeds 20 allowed). Consider refactoring.
                          Open

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

                            FBook has 55 methods (exceeds 20 allowed). Consider refactoring.
                            Open

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

                              File RetryInfo.java has 491 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              // Generated by the protocol buffer compiler.  DO NOT EDIT!
                              // source: zero.status.proto
                              
                              package io.vertx.mod.ipc.eon;
                              
                              

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

                                      @Override
                                      public boolean equals(Object obj) {
                                          if (this == obj)
                                              return true;
                                          if (obj == null)
                                    Severity
                                    Category
                                    Status
                                    Source
                                    Language