blib/lib/Log/Any/Adapter/Carp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 22 | 81.8 |
line | true | false | branch |
---|---|---|---|
25 | 0 | 18 | unless exists $$self{'log_level'} |
26 | 18 | 0 | unless $$self{'log_level'} =~ /^\d+$/ |
30 | 1 | 17 | if ($$self{'no_trace'}) { } |
8 | 9 | elsif ($$self{'skip_packages'} and reftype($$self{'skip_packages'}) eq 'REGEXP') { } | |
33 | 1 | 0 | unless $text =~ /\n$/ |
40 | 0 | 8 | $$self{'skip_me'} ? : |
51 | 4 | 4 | $$self{'full_trace'} ? : |
65 | 1 | 8 | if $$self{'skip_me'} |
67 | 7 | 2 | unless $$self{'skip_packages'} |
69 | 4 | 5 | $$self{'full_trace'} ? : |
91 | 1 | 8 | if $method_level > $$self{'log_level'} |