Hacked By AnonymousFox

Current Path : /opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/
Upload File :
Current File : //opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/coverage.rb

require "coverage.so"

module Coverage
  def self.line_stub(file)
    lines = File.foreach(file).map { nil }
    iseqs = [RubyVM::InstructionSequence.compile_file(file)]
    until iseqs.empty?
      iseq = iseqs.pop
      iseq.trace_points.each {|n, type| lines[n - 1] = 0 if type == :line }
      iseq.each_child {|child| iseqs << child }
    end
    lines
  end
end

Hacked By AnonymousFox1.0, Coded By AnonymousFox