class DeepCover::Analyser::Ruby25LikeBranch

Constants

SUBSET_CLASSES

Public Class Methods

human_name() click to toggle source
# File lib/deep_cover/analyser/ruby25_like_branch.rb, line 7
def self.human_name
  'Ruby25 branches'
end
new(*args) click to toggle source
Calls superclass method
# File lib/deep_cover/analyser/ruby25_like_branch.rb, line 15
def initialize(*args)
  super
  @loc_index = 0
end

Public Instance Methods

results() click to toggle source
# File lib/deep_cover/analyser/ruby25_like_branch.rb, line 20
def results
  extractor = NodeCoverageExtrator.new
  each_node.map do |node|
    extractor.branch_coverage(node)
  end.to_h
end