Class: DeepCover::Analyser::Function

Inherits:
DeepCover::Analyser show all
Includes:
Subset
Defined in:
lib/deep_cover/analyser/function.rb

Constant Summary collapse

SUBSET_CLASSES =
[Node::Block, Node::Defs, Node::Def].freeze

Instance Attribute Summary

Attributes included from Base

#options, #source

Instance Method Summary collapse

Methods included from Subset

#node_children

Methods included from Base

#covered_code, #each_node, #initialize, #node_children, #node_covered?, #node_runs_map, #node_stat_contributions, #node_stat_type, #results, #stats

Methods included from Tools::Covered

#covered?

Instance Method Details

#node_runs(node) ⇒ Object



10
11
12
# File 'lib/deep_cover/analyser/function.rb', line 10

def node_runs(node)
  super(node.body)
end