class Mutest::Reporter::CLI::Printer::EnvProgress

Env progress printer

Constants

FORMATS

rubocop:disable Layout/SpaceInsideArrayLiteralBrackets

Public Instance Methods

run() click to toggle source

Run printer

@return [undefined]

# File lib/mutest/reporter/cli/printer/env_progress.rb, line 37
def run
  visit(Config, env.config)
  FORMATS.each do |report, format, value|
    __send__(report, format, __send__(value))
  end
end

Private Instance Methods

coverage_percent() click to toggle source

Coverage in percent

@return [Float]

@api private

# File lib/mutest/reporter/cli/printer/env_progress.rb, line 60
def coverage_percent
  coverage * 100
end
mutations_per_second() click to toggle source

Mutations processed per second

@return [Float]

@api private

# File lib/mutest/reporter/cli/printer/env_progress.rb, line 51
def mutations_per_second
  amount_mutation_results / runtime
end
overhead_percent() click to toggle source

Overhead in percent

@return [Float]

@api private

# File lib/mutest/reporter/cli/printer/env_progress.rb, line 69
def overhead_percent
  (overhead / killtime) * 100
end