weexteam/weex_devtools_android

View on GitHub

Showing 472 of 2,519 total issues

Avoid too many return statements within this method.
Open

            return res;
Severity: Major
Found in appframework/src/main/java/com/alibaba/weex/commons/util/XmlUtils.java - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return Integer.parseInt(parser.getAttributeValue(null, "value"));
    Severity: Major
    Found in appframework/src/main/java/com/alibaba/weex/commons/util/XmlUtils.java - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return;
      Severity: Major
      Found in appframework/src/main/java/com/alibaba/weex/commons/util/XmlUtils.java - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

              return true;

          Avoid too many return statements within this method.
          Open

                  return view.getMeasuredHeight();

            Avoid too many return statements within this method.
            Open

                    return 0;

              Avoid too many return statements within this method.
              Open

                      return "NaN";
              Severity: Major
              Found in inspector/src/main/java/com/taobao/weex/devtools/json/ObjectMapper.java - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                          return convertValue(value, field.getType());
                Severity: Major
                Found in inspector/src/main/java/com/taobao/weex/devtools/json/ObjectMapper.java - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return getEnumValue((String) value, field.getType().asSubclass(Enum.class));
                  Severity: Major
                  Found in inspector/src/main/java/com/taobao/weex/devtools/json/ObjectMapper.java - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return "-Infinity";
                    Severity: Major
                    Found in inspector/src/main/java/com/taobao/weex/devtools/json/ObjectMapper.java - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                          return value;
                      Severity: Major
                      Found in inspector/src/main/java/com/taobao/weex/devtools/json/ObjectMapper.java - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                      return numberValue.floatValue();
                        Severity: Major
                        Found in inspector/src/main/java/com/taobao/weex/devtools/json/ObjectMapper.java - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                        return numberValue.longValue();
                          Severity: Major
                          Found in inspector/src/main/java/com/taobao/weex/devtools/json/ObjectMapper.java - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return childResult;

                              Avoid too many return statements within this method.
                              Open

                                  return allowViewGroupResult ? viewGroup : null;

                                Avoid too many return statements within this method.
                                Open

                                              return numberValue.intValue();
                                Severity: Major
                                Found in inspector/src/main/java/com/taobao/weex/devtools/json/ObjectMapper.java - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                return numberValue.doubleValue();
                                  Severity: Major
                                  Found in inspector/src/main/java/com/taobao/weex/devtools/json/ObjectMapper.java - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                return convertArrayToList(field, (JSONArray) value);
                                    Severity: Major
                                    Found in inspector/src/main/java/com/taobao/weex/devtools/json/ObjectMapper.java - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return innerView.computeVerticalScrollRange();

                                        Avoid too many return statements within this method.
                                        Open

                                            return value;
                                        Severity: Major
                                        Found in inspector/src/main/java/com/taobao/weex/devtools/json/ObjectMapper.java - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language