Class: Rcov::DifferentialAnalyzer

Class | Rcov::DifferentialAnalyzer
In: | lib/rcov.rb
Parent: | Object

### Methods

aggregate_data compute_raw_data_difference data_default hook_level install_hook new raw_data_absolute remove_hook reset run_hooked

### Public Class methods

new(install_hook_meth, remove_hook_meth, reset_meth)

### Protected Class methods

hook_level()

### Public Instance methods

install_hook()

Start monitoring execution to gather information. Such data will be collected until remove_hook is called.

Use run_hooked instead if possible.

remove_hook()

Stop collecting information. remove_hook will also stop collecting info if it is run inside a run_hooked block.

reset()

Remove the data collected so far. Further collection will start from scratch.

run_hooked() {|| ...}

Execute the code in the given block, monitoring it in order to gather information about which code was executed.

### Protected Instance methods

aggregate_data(aggregated_data, delta)
compute_raw_data_difference(first, last)
data_default()
raw_data_absolute()

[Validate]