RCOV__ performs the low-level tracing of the execution, gathering code coverage information in the process. The C core made available through the rcovrt extension will be used if possible. Otherwise the functionality will be emulated using set_trace_func, but this is very expensive and will fail if other libraries (e.g. breakpoint) change the trace_func.
Do not use this module; it is very low-level and subject to frequent changes. Rcov::CodeCoverageAnalyzer offers a much more convenient and stable interface.
# File lib/rcov/lowlevel.rb, line 136 136: def self.format_backtrace_array(backtrace) 137: backtrace.map do |line| 138: md = /^([^:]*)(?::(\d+)(?::in `(.*)'))?/.match(line) 139: raise "Bad backtrace format" unless md 140: [nil, md[3] ? md[3].to_sym : nil, md[1], (md[2] || '').to_i] 141: end 142: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.