Branch Coverage

blib/lib/Device/NeurioTools.pm
Criterion Covered Total %
branch 1 82 1.2


line true false branch
30 0 1 if ($^O eq 'MSWin32') { }
135 0 0 unless (defined $self->{'debug'})
139 0 0 unless (defined $self->{'neurio'})
189 0 0 if (defined $rate) { }
191 0 0 if ($self->{'debug'})
194 0 0 if ($self->{'debug'})
226 0 0 if (defined $rate1 and defined $cutoff and defined $rate2) { }
230 0 0 if ($self->{'debug'})
231 0 0 if ($self->{'debug'})
232 0 0 if ($self->{'debug'})
235 0 0 if ($self->{'debug'})
302 0 0 if (defined $offset) { }
312 0 0 if ($self->{'debug'})
343 0 0 if ($self->{'flat_rate'} == 0)
344 0 0 if ($self->{'debug'})
381 0 0 if ($self->{'TwoTier_rate1'} == 0 or $self->{'TwoTier_cutoff'} == 0 or $self->{'TwoTier_rate2'} == 0)
382 0 0 if ($self->{'debug'})
388 0 0 if ($kwh != 0)
389 0 0 if ($kwh <= $self->{'TwoTier_cutoff'}) { }
428 0 0 if ($data != 0)
473 0 0 if ($data != 0)
518 0 0 if ($data != 0)
553 0 0 if (defined $data and $data != 0) { }
559 0 0 if ($self->{'debug'})
586 0 0 if (defined $data and $data != 0) { }
588 0 0 if ($appliance->{'name'} eq $name)
595 0 0 if ($self->{'debug'})
621 0 0 if (defined $data and $data != 0) { }
626 0 0 if ($self->{'debug'})
650 0 0 if (defined $data and $data != 0) { }
655 0 0 if ($self->{'debug'})
679 0 0 if (defined $data->[0]{'upEdge'} and $data != 0) { }
0 0 elsif (defined $data->[0]{'downEdge'} and $data != 0) { }
687 0 0 if ($self->{'debug'})
719 0 0 if ($data != 0)
754 0 0 if (not defined $time) { }
755 0 0 if ($self->{'debug'})
785 0 0 if (not defined $time) { }
786 0 0 if ($self->{'debug'})
838 0 0 if (not defined $time) { }
839 0 0 if ($self->{'debug'})