adobe/brackets

View on GitHub

Showing 1,485 of 3,294 total issues

Avoid too many return statements within this function.
Open

                return result;
Severity: Major
Found in src/project/WorkingSetView.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                        return false;
    Severity: Major
    Found in src/project/FileTreeViewModel.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                              return result;
      Severity: Major
      Found in src/project/WorkingSetView.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                            return this; // chainable
        Severity: Major
        Found in src/utils/Resizer.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return true;
          Severity: Major
          Found in src/project/FileTreeViewModel.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return result;
            Severity: Major
            Found in src/project/FileTreeViewModel.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return {
                          needsLoading: false,
                          treeData: treeData
                      };
              Severity: Major
              Found in src/project/FileTreeViewModel.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return textOrLines.substr(0, offset).split("\n").length - 1;
                Severity: Major
                Found in src/utils/StringUtils.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                  return createTagInfo();
                  Severity: Major
                  Found in src/language/HTMLUtils.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                    return null;
                    Severity: Major
                    Found in src/language/JSONUtils.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                          return createTagInfo();
                      Severity: Major
                      Found in src/language/HTMLUtils.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return null;
                        Severity: Major
                        Found in src/language/JSONUtils.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                          return _createTagInfo(ctx.token, TOKEN_VALUE, offset, tagAttrValue.exclusionList, tagAttrValue.tagName, tagAttrValue.attrName);
                          Severity: Major
                          Found in src/language/XMLUtils.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return _createTagInfo();
                            Severity: Major
                            Found in src/language/XMLUtils.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                                  return createTagInfo();
                              Severity: Major
                              Found in src/language/HTMLUtils.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                    return null;
                                Severity: Major
                                Found in src/language/JSONUtils.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return null;
                                  Severity: Major
                                  Found in src/language/HTMLSimpleDOM.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return _createContextInfo((shouldReplace) ? ctxNext.token : ctx.token, TOKEN_VALUE, offset, keyName, valueName, parentKeyName, isArray, null, shouldReplace);
                                    Severity: Major
                                    Found in src/language/JSONUtils.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return dom;
                                      Severity: Major
                                      Found in src/language/HTMLSimpleDOM.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return createInfo();
                                        Severity: Major
                                        Found in src/language/CSSUtils.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language