lib/mutant/reporter/cli/printer/env_progress.rb in mutant-0.11.27 vs lib/mutant/reporter/cli/printer/env_progress.rb in mutant-0.11.28

- old
+ new

@@ -12,22 +12,21 @@ :amount_mutations_killed, :amount_timeouts, :coverage, :env, :killtime, - :overhead, :runtime ) FORMATS = [ [:info, 'Results: %s', :amount_mutation_results], [:info, 'Kills: %s', :amount_mutations_killed], [:info, 'Alive: %s', :amount_mutations_alive ], [:info, 'Timeouts: %s', :amount_timeouts ], [:info, 'Runtime: %0.2fs', :runtime ], [:info, 'Killtime: %0.2fs', :killtime ], - [:info, 'Overhead: %0.2f%%', :overhead_percent ], + [:info, 'Efficiency: %0.2f%%', :efficiency_percent ], [:info, 'Mutations/s: %0.2f', :mutations_per_second ], [:status, 'Coverage: %0.2f%%', :coverage_percent ] ].each(&:freeze) # Run printer @@ -48,11 +47,11 @@ def coverage_percent coverage * 100 end - def overhead_percent - (overhead / killtime) * 100 + def efficiency_percent + (killtime / runtime) * 100 end end # EnvProgress end # Printer end # CLI end # Reporter