silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

PAmountSpecDao has 32 methods (exceeds 20 allowed). Consider refactoring.
Open

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

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

    TplMessageDao has 32 methods (exceeds 20 allowed). Consider refactoring.
    Open

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

      IMyDesktop has 32 methods (exceeds 20 allowed). Consider refactoring.
      Open

      @SuppressWarnings({ "all", "unchecked", "rawtypes" })
      public interface IMyDesktop extends VertxPojo, Serializable {
      
          /**
           * Setter for <code>DB_ETERNAL.MY_DESKTOP.KEY</code>. 「key」- 个人工作台

        IMyTpl has 32 methods (exceeds 20 allowed). Consider refactoring.
        Open

        @SuppressWarnings({ "all", "unchecked", "rawtypes" })
        public interface IMyTpl extends VertxPojo, Serializable {
        
            /**
             * Setter for <code>DB_ETERNAL.MY_TPL.KEY</code>. 「key」- 个人设置主键

          IFCurrency has 32 methods (exceeds 20 allowed). Consider refactoring.
          Open

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

            IMKey has 32 methods (exceeds 20 allowed). Consider refactoring.
            Open

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

              IMAcc has 32 methods (exceeds 20 allowed). Consider refactoring.
              Open

              @SuppressWarnings({ "all", "unchecked", "rawtypes" })
              public interface IMAcc extends VertxPojo, Serializable {
              
                  /**
                   * Setter for <code>DB_ETERNAL.M_ACC.KEY</code>. 「key」- 增量记录ID

                RetryInfo has 32 methods (exceeds 20 allowed). Consider refactoring.
                Open

                public final class RetryInfo extends
                    com.google.protobuf.GeneratedMessageV3 implements
                    // @@protoc_insertion_point(message_implements:io.vertx.mod.ipc.eon.RetryInfo)
                    RetryInfoOrBuilder {
                    // Use RetryInfo.newBuilder() to construct.

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

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

                              Method checkFieldType has a Cognitive Complexity of 27 (exceeds 5 allowed). Consider refactoring.
                              Open

                                  @Override
                                  public CheckResult checkFieldType(final MField field, final ConcurrentMap<String, Object> columnDetail) {
                                      if (null == columnDetail) {
                                          return CheckResult.FAILED;
                                      }

                              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

                              VSearch has 31 methods (exceeds 20 allowed). Consider refactoring.
                              Open

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

                                LState has 31 methods (exceeds 20 allowed). Consider refactoring.
                                Open

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

                                  SPermission has 31 methods (exceeds 20 allowed). Consider refactoring.
                                  Open

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

                                    SPermSet has 31 methods (exceeds 20 allowed). Consider refactoring.
                                    Open

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

                                      DataEvent has 31 methods (exceeds 20 allowed). Consider refactoring.
                                      Open

                                      public class DataEvent implements Serializable {
                                      
                                          /*
                                           * 元数据定义(一份足够了):
                                           *     attribute = table
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language