Branch Coverage

blib/lib/Acme/FishFarm.pm
Criterion Covered Total %
branch 15 32 46.8


line true false branch
135 1 2 unless $sensor_reading =~ /\./
192 0 1 if ($oxygen->is_low_DO) { }
220 1 0 if (not $water_monitor->ph_is_normal) { }
248 0 1 if (not $water_monitor->temperature_is_normal) { }
275 1 0 if ($water_monitor->water_dirty) { }
304 1 0 if ($water_filter->is_cylinder_dirty) { }
336 1 0 if ($water_level->is_low_water_level) { }
363 0 2 if ($feeder->timer_is_up) { }
366 0 0 if ($verbose) { }
377 0 2 if ($feeder->food_remaining <= 0)
411 1 0 if ($water_monitor->is_on_LED_pH) { }
417 0 1 if ($water_monitor->is_on_LED_temperature) { }
423 0 1 if ($water_monitor->is_on_LED_DO) { }
429 1 0 if ($water_monitor->is_on_LED_turbidity) { }
449 1 0 if ($water_monitor->is_on_buzzer_long) { }
0 0 elsif ($water_monitor->is_on_buzzer_short) { }