silentbalanceyh/vertx-zero

View on GitHub

Showing 7,269 of 9,050 total issues

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

EAsset has 115 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class EAsset implements VertxPojo, IEAsset {

    private static final long serialVersionUID = 1L;

    File PBuyOrder.java has 908 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

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

      EBrandRecord has 114 methods (exceeds 20 allowed). Consider refactoring.
      Open

      @SuppressWarnings({ "all", "unchecked", "rawtypes" })
      public class EBrandRecord extends UpdatableRecordImpl<EBrandRecord> implements VertxPojo, Record18<String, String, String, String, String, String, String, String, String, String, String, Boolean, String, String, LocalDateTime, String, LocalDateTime, String>, IEBrand {
      
          private static final long serialVersionUID = 1L;
      
      

        IEAsset has 114 methods (exceeds 20 allowed). Consider refactoring.
        Open

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

          GNodeRecord has 114 methods (exceeds 20 allowed). Consider refactoring.
          Open

          @SuppressWarnings({ "all", "unchecked", "rawtypes" })
          public class GNodeRecord extends UpdatableRecordImpl<GNodeRecord> implements VertxPojo, Record18<String, String, BigDecimal, BigDecimal, String, String, String, String, String, String, String, String, Boolean, String, LocalDateTime, String, LocalDateTime, String>, IGNode {
          
              private static final long serialVersionUID = 1L;
          
          

            SUserRecord has 114 methods (exceeds 20 allowed). Consider refactoring.
            Open

            @SuppressWarnings({ "all", "unchecked", "rawtypes" })
            public class SUserRecord extends UpdatableRecordImpl<SUserRecord> implements VertxPojo, Record18<String, String, String, String, String, String, String, String, String, String, String, String, Boolean, String, LocalDateTime, String, LocalDateTime, String>, ISUser {
            
                private static final long serialVersionUID = 1L;
            
            

              SActionRecord has 114 methods (exceeds 20 allowed). Consider refactoring.
              Open

              @SuppressWarnings({ "all", "unchecked", "rawtypes" })
              public class SActionRecord extends UpdatableRecordImpl<SActionRecord> implements VertxPojo, Record18<String, String, String, String, String, Integer, String, String, String, String, String, Boolean, String, String, LocalDateTime, String, LocalDateTime, String>, ISAction {
              
                  private static final long serialVersionUID = 1L;
              
              

                XMenuRecord has 114 methods (exceeds 20 allowed). Consider refactoring.
                Open

                @SuppressWarnings({ "all", "unchecked", "rawtypes" })
                public class XMenuRecord extends UpdatableRecordImpl<XMenuRecord> implements VertxPojo, Record18<String, String, String, String, String, String, Long, Long, String, String, Boolean, String, String, String, LocalDateTime, String, LocalDateTime, String>, IXMenu {
                
                    private static final long serialVersionUID = 1L;
                
                

                  XLogRecord has 114 methods (exceeds 20 allowed). Consider refactoring.
                  Open

                  @SuppressWarnings({ "all", "unchecked", "rawtypes" })
                  public class XLogRecord extends UpdatableRecordImpl<XLogRecord> implements VertxPojo, Record18<String, String, String, String, String, String, LocalDateTime, String, String, String, Boolean, String, String, String, LocalDateTime, String, LocalDateTime, String>, IXLog {
                  
                      private static final long serialVersionUID = 1L;
                  
                  

                    MyFavorRecord has 114 methods (exceeds 20 allowed). Consider refactoring.
                    Open

                    @SuppressWarnings({ "all", "unchecked", "rawtypes" })
                    public class MyFavorRecord extends UpdatableRecordImpl<MyFavorRecord> implements VertxPojo, Record18<String, String, String, Long, String, String, String, String, String, String, Boolean, String, String, String, LocalDateTime, String, LocalDateTime, String>, IMyFavor {
                    
                        private static final long serialVersionUID = 1L;
                    
                    

                      FSubjectRecord has 114 methods (exceeds 20 allowed). Consider refactoring.
                      Open

                      @SuppressWarnings({ "all", "unchecked", "rawtypes" })
                      public class FSubjectRecord extends UpdatableRecordImpl<FSubjectRecord> implements VertxPojo, Record18<String, String, String, String, String, String, String, String, String, String, String, String, Boolean, String, LocalDateTime, String, LocalDateTime, String>, IFSubject {
                      
                          private static final long serialVersionUID = 1L;
                      
                      

                        EAssetRecord has 113 methods (exceeds 20 allowed). Consider refactoring.
                        Open

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

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

                          Severity
                          Category
                          Status
                          Source
                          Language