Sha256: 0dd49ea67684f8438b0c8cc9b595c63d114b98106688343b4d5f02d2fff79bdc
Contents?: true
Size: 487 Bytes
Versions: 13
Compression:
Stored size: 487 Bytes
Contents
module DeepCover class Analyser::CoveredCodeSource < Analyser attr_reader :covered_code def initialize(covered_code) @covered_code = covered_code end # Looking exclusively at our subset of nodes, returns the node's direct descendants def node_children(node) node.children_nodes end # Returns the number of runs of the node (assumed to be in our subset) def node_runs(node) node.execution_count if node.executable? end end end
Version data entries
13 entries across 13 versions & 1 rubygems