silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

VTableDao has 30 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class VTableDao extends AbstractVertxDAO<VTableRecord, cn.vertxup.ui.domain.tables.pojos.VTable, String, Future<List<cn.vertxup.ui.domain.tables.pojos.VTable>>, Future<cn.vertxup.ui.domain.tables.pojos.VTable>, Future<Integer>, Future<String>> implements io.github.jklingsporn.vertx.jooq.classic.VertxDAO<VTableRecord,cn.vertxup.ui.domain.tables.pojos.VTable,String> {

        /**
     * @param configuration The Configuration used for rendering and query

    IVSearch has 30 methods (exceeds 20 allowed). Consider refactoring.
    Open

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

      WRecord has 30 methods (exceeds 20 allowed). Consider refactoring.
      Open

      public class WRecord implements Serializable {
          private final transient ConcurrentMap<String, JsonArray> linkage = new ConcurrentHashMap<>();
          private final transient JsonObject child = new JsonObject();
          private final transient JsonObject dataAfter = new JsonObject();
          // Change Flag for activity

        RAssetShareRecord has 30 methods (exceeds 20 allowed). Consider refactoring.
        Open

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

          ILYard has 30 methods (exceeds 20 allowed). Consider refactoring.
          Open

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

            ILCity has 30 methods (exceeds 20 allowed). Consider refactoring.
            Open

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

              ILRegion has 30 methods (exceeds 20 allowed). Consider refactoring.
              Open

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

                LCountryDao has 30 methods (exceeds 20 allowed). Consider refactoring.
                Open

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

                  ILFloor has 30 methods (exceeds 20 allowed). Consider refactoring.
                  Open

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

                    ISPermission has 30 methods (exceeds 20 allowed). Consider refactoring.
                    Open

                    @SuppressWarnings({ "all", "unchecked", "rawtypes" })
                    public interface ISPermission extends VertxPojo, Serializable {
                    
                        /**
                         * Setter for <code>DB_ETERNAL.S_PERMISSION.KEY</code>. 「key」- 权限ID

                      SGroupDao has 30 methods (exceeds 20 allowed). Consider refactoring.
                      Open

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

                        ISPermSet has 30 methods (exceeds 20 allowed). Consider refactoring.
                        Open

                        @SuppressWarnings({ "all", "unchecked", "rawtypes" })
                        public interface ISPermSet extends VertxPojo, Serializable {
                        
                            /**
                             * Setter for <code>DB_ETERNAL.S_PERM_SET.KEY</code>. 「key」- 权限集ID

                          XModuleDao has 30 methods (exceeds 20 allowed). Consider refactoring.
                          Open

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

                            MyBagDao has 30 methods (exceeds 20 allowed). Consider refactoring.
                            Open

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

                              IMRelation has 30 methods (exceeds 20 allowed). Consider refactoring.
                              Open

                              @SuppressWarnings({ "all", "unchecked", "rawtypes" })
                              public interface IMRelation extends VertxPojo, Serializable {
                              
                                  /**
                                   * Setter for <code>DB_ETERNAL.M_RELATION.KEY</code>. 「key」- 关系定义的主键

                                MIndexDao has 30 methods (exceeds 20 allowed). Consider refactoring.
                                Open

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

                                  MEntityDao has 30 methods (exceeds 20 allowed). Consider refactoring.
                                  Open

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

                                    IpcContent has 30 methods (exceeds 20 allowed). Consider refactoring.
                                    Open

                                    public final class IpcContent extends
                                        com.google.protobuf.GeneratedMessageV3 implements
                                        // @@protoc_insertion_point(message_implements:io.vertx.mod.ipc.eon.IpcContent)
                                        IpcContentOrBuilder {
                                        // Use IpcContent.newBuilder() to construct.

                                      ResponseParams has 30 methods (exceeds 20 allowed). Consider refactoring.
                                      Open

                                      public final class ResponseParams extends
                                          com.google.protobuf.GeneratedMessageV3 implements
                                          // @@protoc_insertion_point(message_implements:io.vertx.mod.ipc.eon.ResponseParams)
                                          ResponseParamsOrBuilder {
                                          // Use ResponseParams.newBuilder() to construct.

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

                                        /*
                                         * This file is generated by jOOQ.
                                         */
                                        package cn.vertxup.ui.domain;
                                        
                                        
                                        Severity: Major
                                        Found in vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Db.java and 1 other location - About 3 hrs to fix
                                        vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Db.java on lines 1..130

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

                                        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

                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language