Branch Coverage

blib/lib/MyLibrary/Message.pm
Criterion Covered Total %
branch 8 22 36.3


line true false branch
58 0 1 if ($opts{'id'})
67 0 0 if (ref $rv eq 'HASH') { }
92 1 1 if ($message_date)
106 1 1 if ($message)
120 2 2 if (not $message_global) { }
2 0 elsif (lc $message_global eq '1' or lc $message_global eq '2') { }
139 0 0 if ($self->message_id) { }
143 0 0 if ($return > 1 or not $return)
154 0 0 if ($return > 1 or not $return)
169 0 0 if ($$self{'message_id'})
173 0 0 if ($rv != 1)