silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

IBComponent has 28 methods (exceeds 20 allowed). Consider refactoring.
Open

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

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

    IBWeb has 28 methods (exceeds 20 allowed). Consider refactoring.
    Open

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

      MyTplDao has 28 methods (exceeds 20 allowed). Consider refactoring.
      Open

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

        MyDesktopDao has 28 methods (exceeds 20 allowed). Consider refactoring.
        Open

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

          FCurrencyDao has 28 methods (exceeds 20 allowed). Consider refactoring.
          Open

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

            MKeyDao has 28 methods (exceeds 20 allowed). Consider refactoring.
            Open

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

              MAccDao has 28 methods (exceeds 20 allowed). Consider refactoring.
              Open

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

                Builder has 28 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.IpcStatus)
                        io.vertx.mod.ipc.eon.IpcStatusOrBuilder {
                        private int code_;

                  Method transformLinear has a Cognitive Complexity of 23 (exceeds 5 allowed). Consider refactoring.
                  Open

                      private static Condition transformLinear(
                          final JsonObject filters,
                          final Operator operator,
                          final Function<String, Field> fnAnalyze,
                          final Function<String, String> fnTable) {

                  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 equals has a Cognitive Complexity of 23 (exceeds 5 allowed). Consider refactoring.
                  Open

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

                  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 mergeFrom has a Cognitive Complexity of 23 (exceeds 5 allowed). Consider refactoring.
                  Open

                          public Builder mergeFrom(io.vertx.mod.ipc.eon.StreamServerRequest other) {
                              if (other == io.vertx.mod.ipc.eon.StreamServerRequest.getDefaultInstance()) return this;
                              if (other.responseType_ != 0) {
                                  setResponseTypeValue(other.getResponseTypeValue());
                              }

                  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

                  File Ut.java has 301 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  package io.vertx.up.util;
                  
                  import io.aeon.runtime.channel.AeonService;
                  import io.horizon.eon.em.typed.ChangeFlag;
                  import io.horizon.uca.qr.syntax.Ir;
                  Severity: Minor
                  Found in vertx-gaia/vertx-co/src/main/java/io/vertx/up/util/Ut.java - About 3 hrs to fix

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

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

                          JqWriter has 27 methods (exceeds 20 allowed). Consider refactoring.
                          Open

                          @SuppressWarnings("all")
                          class JqWriter {
                          
                              private transient ActionInsert insert;
                              private transient ActionUpdate update;
                          Severity: Minor
                          Found in vertx-gaia/vertx-up/src/main/jib/io/vertx/up/uca/jooq/JqWriter.java - About 3 hrs to fix

                            _Of has 27 methods (exceeds 20 allowed). Consider refactoring.
                            Open

                            class _Of extends _If {
                            
                                public static Function<JsonObject, Future<JsonObject>> ofCopy(final String from, final String to) {
                                    return json -> Future.succeededFuture(Ut.valueCopy(json, from, to));
                                }
                            Severity: Minor
                            Found in vertx-gaia/vertx-co/src/main/java/io/vertx/up/fn/_Of.java - About 3 hrs to fix

                              UiLayout has 27 methods (exceeds 20 allowed). Consider refactoring.
                              Open

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

                                TVendorAssessment has 27 methods (exceeds 20 allowed). Consider refactoring.
                                Open

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

                                  TOaTrip has 27 methods (exceeds 20 allowed). Consider refactoring.
                                  Open

                                  @SuppressWarnings({ "all", "unchecked", "rawtypes" })
                                  public class TOaTrip implements VertxPojo, ITOaTrip {
                                  
                                      private static final long serialVersionUID = 1L;
                                  
                                  
                                    Severity
                                    Category
                                    Status
                                    Source
                                    Language