Branch Coverage

blib/lib/Net/MQTT/Constants.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
81 2 42 if ($v)
92 3 65 unless length $data >= $$offset + 1
106 2 27 unless length $data >= $$offset + 2
121 1 14 unless length $data >= $$offset + $len
159 10 32 scalar @lines ? :
166 2 2 unless ['Connection Accepted', 'Connection Refused: unacceptable protocol version', 'Connection Refused: identifier rejected', 'Connection Refused: server unavailable', 'Connection Refused: bad user name or password', 'Connection Refused: not authorized']->[$_[0]]