Branch Coverage

blib/lib/Acme/FishFarm/WaterFiltration.pm
Criterion Covered Total %
branch 28 42 66.6


line true false branch
103 2 1 unless ($options{'current_waste_count'})
107 2 1 unless ($options{'waste_threshold'})
129 0 14 unless ref(my $self = shift())
131 6 8 if (@_) { }
145 0 4 unless ref(my $self = shift())
156 0 1 unless ref(my $self = shift())
167 0 4 unless ref(my $self = shift())
178 0 1 unless ref(my $self = shift())
195 0 3 unless ref(my $self = shift())
200 0 6 unless ref(my $self = shift())
201 4 2 if ($self->{'current_waste_count'} >= $self->{'waste_threshold'}) { }
217 0 1 unless ref(my $self = shift())
235 0 5 unless ref(my $self = shift())
238 2 3 if (@_) { }
240 1 1 if ($reduce < 0) { }
250 4 1 if ($self->{'is_on_spatulas'}) { }
252 2 2 if ($reduce_waste_by) { }
254 2 0 if ($self->{'current_waste_count'} > $reduce_waste_by) { }
286 0 3 unless ref(my $self = shift())
291 0 0 unless ref(my $self = shift())
296 0 4 unless ref(my $self = shift())