maxdemarzi/neography

View on GitHub
lib/neography/rest/node_paths.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method get_shortest_weighted_path has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

      def get_shortest_weighted_path(from, to, relationships, weight_attribute = "weight", depth = 1, algorithm = "dijkstra")
Severity: Minor
Found in lib/neography/rest/node_paths.rb - About 45 mins to fix

    Method get_path has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

          def get_path(from, to, relationships, depth = 1, algorithm = "shortestPath")
    Severity: Minor
    Found in lib/neography/rest/node_paths.rb - About 35 mins to fix

      Method path_options has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

            def path_options(to, relationships, depth, algorithm, extra_body = {})
      Severity: Minor
      Found in lib/neography/rest/node_paths.rb - About 35 mins to fix

        Method get_paths has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

              def get_paths(from, to, relationships, depth = 1, algorithm = "allPaths")
        Severity: Minor
        Found in lib/neography/rest/node_paths.rb - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status