godobject/smuxi-hooks-ruby

View on GitHub
lib/god_object/smuxi_hooks/plugin.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method execute_hook has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def execute_hook(executable_path, environment = ENV)
          split_pattern = /\/#{BASE_DIRECTORY_NAME}\/#{HOOKS_DIRECTORY_NAME}\//
          config_directory, relative_executable = executable_path.
                                                  split(split_pattern)

Severity: Minor
Found in lib/god_object/smuxi_hooks/plugin.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status