silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

File SView.java has 467 lines of code (exceeds 250 allowed). Consider refactoring.
Open

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

    File XActivity.java has 467 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

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

      File FPayTerm.java has 467 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

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

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

        /*
         * This file is generated by jOOQ.
         */
        package cn.vertxup.battery.domain.tables.interfaces;
        
        
        vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/tables/interfaces/IBAuthority.java on lines 1..200
        vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/tables/interfaces/IBComponent.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 442.

        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 3 locations. Consider refactoring.
        Open

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

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

        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 3 locations. Consider refactoring.
        Open

        /*
         * This file is generated by jOOQ.
         */
        package cn.vertxup.battery.domain.tables.interfaces;
        
        
        vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/tables/interfaces/IBAuthority.java on lines 1..200
        vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/tables/interfaces/IBWeb.java on lines 1..194

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

        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

        UiField has 51 methods (exceeds 20 allowed). Consider refactoring.
        Open

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

          UiView has 51 methods (exceeds 20 allowed). Consider refactoring.
          Open

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

            SVisitant has 51 methods (exceeds 20 allowed). Consider refactoring.
            Open

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

              SResource has 51 methods (exceeds 20 allowed). Consider refactoring.
              Open

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

                SPacketRecord has 51 methods (exceeds 20 allowed). Consider refactoring.
                Open

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

                  XActivityRuleRecord has 51 methods (exceeds 20 allowed). Consider refactoring.
                  Open

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

                    XCategory has 51 methods (exceeds 20 allowed). Consider refactoring.
                    Open

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

                      XApp has 51 methods (exceeds 20 allowed). Consider refactoring.
                      Open

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

                        PWhRecord has 51 methods (exceeds 20 allowed). Consider refactoring.
                        Open

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

                          TplModel has 51 methods (exceeds 20 allowed). Consider refactoring.
                          Open

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

                            IPortfolio has 51 methods (exceeds 20 allowed). Consider refactoring.
                            Open

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

                              IDirectoryRecord has 51 methods (exceeds 20 allowed). Consider refactoring.
                              Open

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

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

                                      @Override
                                      public boolean equals(Object obj) {
                                          if (this == obj)
                                              return true;
                                          if (obj == null)
                                    Severity
                                    Category
                                    Status
                                    Source
                                    Language