sebastian-software/core

View on GitHub
source/class/core/util/HashPath.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function navigate has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      navigate : function(fragment, relation)
      {
        if (relation == "parent")
        {
          var destination = this.clone();
Severity: Minor
Found in source/class/core/util/HashPath.js - About 1 hr to fix

    Function compareTo has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          compareTo : function(other)
          {
            if (this === other) {
              return "equal";
            }
    Severity: Minor
    Found in source/class/core/util/HashPath.js - About 1 hr to fix

      Avoid too many return statements within this function.
      Open

                  return "jump";
      Severity: Major
      Found in source/class/core/util/HashPath.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return "equal";
        Severity: Major
        Found in source/class/core/util/HashPath.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return "param";
          Severity: Major
          Found in source/class/core/util/HashPath.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return "section";
            Severity: Major
            Found in source/class/core/util/HashPath.js - About 30 mins to fix

              There are no issues that match your filters.

              Category
              Status