adobe/brackets

View on GitHub

Showing 1,485 of 3,294 total issues

Avoid too many return statements within this function.
Open

                        if ( outOfRange(year, 0, 9999) ) return null;

    Avoid too many return statements within this function.
    Open

            return name;

      Avoid too many return statements within this function.
      Open

              return ret;

        Avoid too many return statements within this function.
        Open

                return result;

          Avoid too many return statements within this function.
          Open

                                  if ( outOfRange(weekDay, 0, 6) ) return null;

            Avoid too many return statements within this function.
            Open

                                    if ( !eraName || !cal.eras ) return null;

              Avoid too many return statements within this function.
              Open

                                      if ( outOfRange(hour, 0, 23) ) return null;

                Avoid too many return statements within this function.
                Open

                                        if ( outOfRange(sec, 0, 59) ) return null;

                  Avoid too many return statements within this function.
                  Open

                                          if ( outOfRange(msec, 0, 999) ) return null;

                    Avoid too many return statements within this function.
                    Open

                                    return null;

                      Avoid too many return statements within this function.
                      Open

                                                  return rootjQuery.find( selector );

                        Avoid too many return statements within this function.
                        Open

                                    return 1;

                          Avoid too many return statements within this function.
                          Open

                                                  return makeArray( context.querySelectorAll(query), extra );

                            Avoid too many return statements within this function.
                            Open

                                                        return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra );

                              Avoid too many return statements within this function.
                              Open

                                      return null;
                              Severity: Major
                              Found in src/extensions/default/SVGCodeHints/main.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                    return this;

                                  Avoid too many return statements within this function.
                                  Open

                                              return ret === null ?
                                                  undefined :
                                                  ret;

                                    Avoid too many return statements within this function.
                                    Open

                                            return null;
                                    Severity: Major
                                    Found in src/extensions/default/CSSCodeHints/main.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                  return rootjQuery.ready( selector );

                                        Avoid too many return statements within this function.
                                        Open

                                                                return ( diff % first === 0 && diff / first >= 0 );
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language