rapid7/metasploit-framework

View on GitHub
lib/msf/core/post/osx/ruby_dl.rb

Summary

Maintainability
C
1 day
Test Coverage

Method osx_capture_media has 247 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def osx_capture_media(opts)
    capture_code = <<-EOS
#{osx_ruby_dl_header}

options = {
Severity: Major
Found in lib/msf/core/post/osx/ruby_dl.rb - About 1 day to fix

    File ruby_dl.rb has 289 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    module Msf
    class Post
    module OSX
    module RubyDL
      def osx_ruby_dl_header
    Severity: Minor
    Found in lib/msf/core/post/osx/ruby_dl.rb - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status