Condition Coverage

blib/lib/Hardware/UPS/Perl/Connection.pm
Criterion Covered Total %
condition 1 9 11.1


and 3 conditions

line !l l&&!r l&&r condition
305 0 0 1 1 == @_ and ref $_[0] eq 'HASH'
376 0 0 0 $connectionHandle && ref $connectionHandle

or 3 conditions

line l !l&&r !l&&!r condition
376 0 0 0 not $connectionHandle && ref $connectionHandle or $@