silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

IIntegration has 63 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class IIntegration implements VertxPojo, IIIntegration {

    private static final long serialVersionUID = 1L;

    MAttributeRecord has 63 methods (exceeds 20 allowed). Consider refactoring.
    Open

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

      Method equals has a Cognitive Complexity of 58 (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 equals has a Cognitive Complexity of 58 (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 equals has a Cognitive Complexity of 58 (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 equals has a Cognitive Complexity of 58 (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 equals has a Cognitive Complexity of 58 (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

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

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

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

      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.battery.domain.tables;
      
      
      vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/tables/BWeb.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 554.

      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

      ECompanyDao has 62 methods (exceeds 20 allowed). Consider refactoring.
      Open

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

        IApiDao has 62 methods (exceeds 20 allowed). Consider refactoring.
        Open

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

          IBBlock has 62 methods (exceeds 20 allowed). Consider refactoring.
          Open

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

            PBuyItemDao has 62 methods (exceeds 20 allowed). Consider refactoring.
            Open

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

              IPOutItem has 62 methods (exceeds 20 allowed). Consider refactoring.
              Open

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

                FBillItemDao has 62 methods (exceeds 20 allowed). Consider refactoring.
                Open

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

                  IFInvoice has 62 methods (exceeds 20 allowed). Consider refactoring.
                  Open

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

                    IIIntegration has 62 methods (exceeds 20 allowed). Consider refactoring.
                    Open

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

                      Builder has 62 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.IpcRequest)
                              io.vertx.mod.ipc.eon.IpcRequestOrBuilder {
                              private int responseFormat_ = 0;

                        WFlow has 61 methods (exceeds 20 allowed). Consider refactoring.
                        Open

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

                          IJob has 61 methods (exceeds 20 allowed). Consider refactoring.
                          Open

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