igor-alexandrov/wiselinks

View on GitHub

Showing 46 of 73 total issues

Avoid deeply nested control flow statements.
Open

                        if (v) {
                            partial.push(quote(k) + (gap ? ': ' : ':') + v);
                        }
Severity: Major
Found in lib/assets/javascripts/lib/native.history.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                                if (startedWithHash && iframeHash === '') {
                                    History.back();
                                }
                                else {
                                    // Update the Hash
    Severity: Major
    Found in build/wiselinks-1.2.2.js - About 45 mins to fix

      Avoid too many return statements within this function.
      Open

                      return true;
      Severity: Major
      Found in lib/assets/javascripts/lib/native.history.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return doc.URL || doc.location.href;
        Severity: Major
        Found in lib/assets/javascripts/lib/native.history.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                          return true;
          Severity: Major
          Found in build/wiselinks-1.2.2.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return doc.URL || doc.location.href;
            Severity: Major
            Found in build/wiselinks-1.2.2.js - About 30 mins to fix
              Severity
              Category
              Status
              Source
              Language