igor-alexandrov/wiselinks

View on GitHub

Showing 46 of 73 total issues

Avoid deeply nested control flow statements.
Open

                            if (startedWithHash && iframeHash === '') {
                                History.back();
                            }
                            else {
                                // Update the Hash
Severity: Major
Found in lib/assets/javascripts/lib/native.history.js - About 45 mins to fix

    Function _fail has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        RequestManager.prototype._fail = function($target, status, state, error, code, data) {
    Severity: Minor
    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 doc.URL || doc.location.href;
          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 true;
            Severity: Major
            Found in build/wiselinks-1.2.2.js - About 30 mins to fix
              Severity
              Category
              Status
              Source
              Language