silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

JqAnalyzer has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings("all")
public class JqAnalyzer {

    private static final Annal LOGGER = Annal.get(JqAnalyzer.class);
    private static final ConcurrentMap<Integer, JooqDsl> DAO_POOL =
Severity: Minor
Found in vertx-gaia/vertx-up/src/main/jib/io/vertx/up/uca/jooq/JqAnalyzer.java - About 2 hrs to fix

    JoinStore has 25 methods (exceeds 20 allowed). Consider refactoring.
    Open

    @SuppressWarnings("all")
    class JoinStore {
        /*
         * Class -> Analyzer
         * Here each Dao class contain only one JqAnalyzer for deep analyzing
    Severity: Minor
    Found in vertx-gaia/vertx-up/src/main/jib/io/vertx/up/uca/jooq/JoinStore.java - About 2 hrs to fix

      AbstractAside has 25 methods (exceeds 20 allowed). Consider refactoring.
      Open

      @SuppressWarnings("all")
      abstract class AbstractAside {
      
          /*
           * Logger that will be used in L1 cache sub-classes

        N4J has 25 methods (exceeds 20 allowed). Consider refactoring.
        Open

        public class N4J {
        
            public static List<String> constraint(final String graph, final Set<String> properties, final String alias) {
                return N4JNode.constraint(graph, properties, alias);
            }

          TOaTraining has 25 methods (exceeds 20 allowed). Consider refactoring.
          Open

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

            OAccessToken has 25 methods (exceeds 20 allowed). Consider refactoring.
            Open

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

              IoArranger has 25 methods (exceeds 20 allowed). Consider refactoring.
              Open

              class IoArranger {
              
                  /**
                   * Extract `IComponent` here.
                   *

                Builder has 25 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.IpcContent)
                        io.vertx.mod.ipc.eon.IpcContentOrBuilder {
                        public static final com.google.protobuf.Descriptors.Descriptor

                  File WTodoDao.java has 282 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  /*
                   * This file is generated by jOOQ.
                   */
                  package cn.vertxup.workflow.domain.tables.daos;
                  
                  

                    Method toParameter has a Cognitive Complexity of 20 (exceeds 5 allowed). Consider refactoring.
                    Open

                        static Object toParameter(final RoutingContext context, final Class<?> type) {
                            Object returnValue = null;
                            if (is(type, XHeader.class)) {
                                /*
                                 * XHeader for
                    Severity: Minor
                    Found in vertx-gaia/vertx-up/src/main/java/io/vertx/up/unity/Web.java - About 2 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

                    Method criteria has a Cognitive Complexity of 20 (exceeds 5 allowed). Consider refactoring.
                    Open

                        public static JsonObject criteria(final JsonObject criteria, final Mojo mojo, final Set<String> ignoreSet) {
                            final JsonObject condition = new JsonObject();
                            final ConcurrentMap<String, String> mapping = joinMapping(mojo, ignoreSet);
                            for (final String field : criteria.fieldNames()) {
                                // Filter processed

                    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 values has 22 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        public UiListRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, Boolean value9, Boolean value10, String value11, String value12, String value13, String value14, Boolean value15, String value16, String value17, String value18, LocalDateTime value19, String value20, LocalDateTime value21, String value22) {

                      Method values has 22 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          public LLocationRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, String value9, String value10, String value11, String value12, String value13, String value14, String value15, Boolean value16, String value17, String value18, LocalDateTime value19, String value20, LocalDateTime value21, String value22) {

                        Method values has 22 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            public XNumberRecord values(String value1, String value2, String value3, Long value4, String value5, String value6, String value7, String value8, String value9, Integer value10, Integer value11, Boolean value12, String value13, Boolean value14, Boolean value15, String value16, String value17, String value18, LocalDateTime value19, String value20, LocalDateTime value21, String value22) {

                          Method values has 22 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              public XLinkageRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, String value9, String value10, String value11, String value12, String value13, String value14, String value15, String value16, Boolean value17, String value18, LocalDateTime value19, String value20, LocalDateTime value21, String value22) {

                            Method values has 22 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                public MySettingRecord values(String value1, String value2, String value3, String value4, String value5, Boolean value6, Boolean value7, Boolean value8, Boolean value9, String value10, String value11, String value12, String value13, String value14, Boolean value15, String value16, String value17, String value18, LocalDateTime value19, String value20, LocalDateTime value21, String value22) {

                              Method values has 22 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  public TplTicketRecord values(String value1, String value2, String value3, String value4, String value5, String value6, Boolean value7, String value8, String value9, String value10, String value11, String value12, String value13, String value14, String value15, String value16, Boolean value17, String value18, LocalDateTime value19, String value20, LocalDateTime value21, String value22) {

                                Method values has 22 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    public FSettlementItemRecord values(String value1, String value2, String value3, String value4, Boolean value5, String value6, BigDecimal value7, String value8, String value9, String value10, String value11, String value12, String value13, String value14, String value15, String value16, Boolean value17, String value18, LocalDateTime value19, String value20, LocalDateTime value21, String value22) {

                                  Method values has 22 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      public MFieldRecord values(String value1, String value2, String value3, String value4, String value5, Boolean value6, Boolean value7, Integer value8, Integer value9, String value10, String value11, String value12, String value13, String value14, String value15, String value16, Boolean value17, String value18, LocalDateTime value19, String value20, LocalDateTime value21, String value22) {

                                    Method configure has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public static void configure() {
                                            /*
                                             * Phase 1:
                                             * -- Scan the whole environment to extract all classes those will be analyzed.
                                             * -- Guice Module Start to extract all ( DI clazz )
                                    Severity: Major
                                    Found in vertx-gaia/vertx-up/src/main/web/io/vertx/up/runtime/ZeroAnno.java - About 2 hrs to fix
                                      Severity
                                      Category
                                      Status
                                      Source
                                      Language