blib/lib/Devel/Messenger.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 37 | 72.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
28 | 18 | 0 | 0 | $quiet and @_ |
18 | 0 | 0 | $quiet and @_ and substr($_[0], 0, 31) eq 'Using Devel::Messenger version ' | |
33 | 0 | 17 | 1 | defined $$opts{'output'} and ref $$opts{'output'} |
41 | 12 | 0 | 6 | defined $$opts{'level'} && $$opts{'level'} =~ /^\d$/ |
64 | 21 | 1 | 1 | $debug > $level and $level |
66 | 19 | 1 | 2 | @Devel::Messenger::trap and $output ne '_trap' |
69 | 2 | 19 | 1 | @message and $message[0] eq 'continue' |
91 | 15 | 0 | 2 | @Devel::Messenger::trap and $output ne '_trap' |
line | l | !l | condition |
---|---|---|---|
30 | 18 | 0 | $$opts{'output'} || 'none' |
44 | 2 | 16 | $$opts{'pkgname'} || 0 |
45 | 2 | 16 | $$opts{'linenumber'} || 0 |
56 | 5 | 13 | $$opts{'wrap'} || '' |
58 | 0 | 18 | $$opts{'global'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
91 | 1 | 0 | 17 | @_ or @Devel::Messenger::trap and $output ne '_trap' |