silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

Method calculate has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public void calculate(final JsonArray original, final JsonArray current) {
        this.reset();
        /*
         * UPDATE
         * Calculate the complex situations

    Method toString has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        @Override
        public String toString() {
            StringBuilder sb = new StringBuilder("WFlow (");
    
            sb.append(key);

      Method hashCode has 31 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          @Override
          public int hashCode() {
              final int prime = 31;
              int result = 1;
              result = prime * result + ((this.key == null) ? 0 : this.key.hashCode());

        Method from has 31 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            @Override
            public void from(IECompany from) {
                setKey(from.getKey());
                setName(from.getName());
                setAlias(from.getAlias());

          Method from has 31 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              @Override
              public void from(IECompany from) {
                  setKey(from.getKey());
                  setName(from.getName());
                  setAlias(from.getAlias());

            Method fromJson has 31 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    @Override
                    public default IEProject fromJson(io.vertx.core.json.JsonObject json) {
                            setOrThrow(this::setKey,json::getString,"KEY","java.lang.String");
                            setOrThrow(this::setName,json::getString,"NAME","java.lang.String");
                            setOrThrow(this::setCode,json::getString,"CODE","java.lang.String");

              Method from has 31 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  @Override
                  public void from(IIApi from) {
                      setKey(from.getKey());
                      setName(from.getName());
                      setUri(from.getUri());

                Method from has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    @Override
                    public void from(IIApi from) {
                        setKey(from.getKey());
                        setName(from.getName());
                        setUri(from.getUri());

                  Method hashCode has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      @Override
                      public int hashCode() {
                          final int prime = 31;
                          int result = 1;
                          result = prime * result + ((this.key == null) ? 0 : this.key.hashCode());

                    Method toString has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        @Override
                        public String toString() {
                            StringBuilder sb = new StringBuilder("IJob (");
                    
                            sb.append(key);

                      Method toJson has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              @Override
                              public default io.vertx.core.json.JsonObject toJson() {
                                      io.vertx.core.json.JsonObject json = new io.vertx.core.json.JsonObject();
                                      json.put("KEY",getKey());
                                      json.put("CODE",getCode());

                        Method normalize has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            Object normalize(final Kv<String, Object> kv, final HRecord record, final JsonObject combineData) {
                                final String cat3Key;
                                final String cat2Key;
                                final String cat3Identifier;
                                final String cat2Identifier;

                          Method from has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              @Override
                              public void from(IPBuyItem from) {
                                  setKey(from.getKey());
                                  setSerial(from.getSerial());
                                  setStatus(from.getStatus());

                            Method from has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                @Override
                                public void from(IPBuyItem from) {
                                    setKey(from.getKey());
                                    setSerial(from.getSerial());
                                    setStatus(from.getStatus());

                              Method hashCode has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  @Override
                                  public int hashCode() {
                                      final int prime = 31;
                                      int result = 1;
                                      result = prime * result + ((this.key == null) ? 0 : this.key.hashCode());

                                Method toString has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    @Override
                                    public String toString() {
                                        StringBuilder sb = new StringBuilder("POutTicket (");
                                
                                        sb.append(key);

                                  Method toJson has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          @Override
                                          public default io.vertx.core.json.JsonObject toJson() {
                                                  io.vertx.core.json.JsonObject json = new io.vertx.core.json.JsonObject();
                                                  json.put("KEY",getKey());
                                                  json.put("SERIAL",getSerial());

                                    Method from has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        @Override
                                        public void from(IFBillItem from) {
                                            setKey(from.getKey());
                                            setName(from.getName());
                                            setCode(from.getCode());

                                      Method from has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          @Override
                                          public void from(IFBillItem from) {
                                              setKey(from.getKey());
                                              setName(from.getName());
                                              setCode(from.getCode());

                                        Method toJson has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                @Override
                                                public default io.vertx.core.json.JsonObject toJson() {
                                                        io.vertx.core.json.JsonObject json = new io.vertx.core.json.JsonObject();
                                                        json.put("KEY",getKey());
                                                        json.put("NAME",getName());
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language