silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

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)

      File FSettlement.java has 490 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

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

        File FPreAuthorize.java has 490 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

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

          File FPaymentItem.java has 490 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

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

            File FDebt.java has 490 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

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

              Method toFile has a Cognitive Complexity of 50 (exceeds 5 allowed). Consider refactoring.
              Open

                  static <T> T toFile(final Set<FileUpload> fileUploads, final Class<?> expected, final Function<String, Buffer> consumer) {
                      /*
                       * Size = 0
                       * Size = 1
                       * Size > 1
              Severity: Minor
              Found in vertx-gaia/vertx-up/src/main/java/io/vertx/up/unity/Upload.java - About 7 hrs to fix

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

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

                File FBank.java has 489 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

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

                  File IMessage.java has 489 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

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

                    Envelop has 54 methods (exceeds 20 allowed). Consider refactoring.
                    Open

                    public class Envelop implements Serializable {
                    
                        /* Basic Data for Envelop such as: Data, Error, Status */
                        private final HttpStatusCode status;
                        private final WebException error;
                    Severity: Major
                    Found in vertx-gaia/vertx-up/src/main/java/io/vertx/up/commune/Envelop.java - About 7 hrs to fix

                      VFragmentRecord has 54 methods (exceeds 20 allowed). Consider refactoring.
                      Open

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

                        TOaAssignmentRecord has 54 methods (exceeds 20 allowed). Consider refactoring.
                        Open

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

                          TVendorCheckOutRecord has 54 methods (exceeds 20 allowed). Consider refactoring.
                          Open

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

                            Ox has 54 methods (exceeds 20 allowed). Consider refactoring.
                            Open

                            @SuppressWarnings("all")
                            public final class Ox {
                                /**
                                 * ## 日志器
                                 *
                            Severity: Major
                            Found in vertx-pin/zero-vie/src/main/java/io/mature/extension/refine/Ox.java - About 7 hrs to fix

                              IPPos has 54 methods (exceeds 20 allowed). Consider refactoring.
                              Open

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

                                IPBuyTicket has 54 methods (exceeds 20 allowed). Consider refactoring.
                                Open

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

                                  IFBook has 54 methods (exceeds 20 allowed). Consider refactoring.
                                  Open

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

                                    File EContractRecord.java has 483 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    /*
                                     * This file is generated by jOOQ.
                                     */
                                    package cn.vertxup.erp.domain.tables.records;
                                    
                                    

                                      File PInItemRecord.java has 483 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      /*
                                       * This file is generated by jOOQ.
                                       */
                                      package cn.vertxup.psi.domain.tables.records;
                                      
                                      
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language