rapid7/metasploit-framework

View on GitHub
lib/msf/base/simple/framework/module_paths.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method init_module_paths has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def init_module_paths(opts = {})
          if @module_paths_inited
            raise 'Module paths already initialized.  To add more module paths call `modules.add_module_path`'
          end

Severity: Minor
Found in lib/msf/base/simple/framework/module_paths.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status