blib/lib/OpenTracing/WrapScope.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 28 | 30 | 93.3 |
line | true | false | branch |
---|---|---|---|
19 | 0 | 283 | caller() eq 'DB' ? : |
21 | 10 | 273 | unless @caller |
22 | 39 | 234 | if $name_cache |
23 | 39 | 234 | $caller[0] eq 'OpenTracing::WrapScope' ? : |
24 | 117 | 156 | if $name_cache or $height-- != 0 |
25 | 78 | 1 | @_ ? : |
79 | 77 | wantarray ? : | |
45 | 0 | 15 | unless (defined &$sub) |
83 | 4 | 17 | if (defined $wantarray) { } |
84 | 2 | 2 | $wantarray ? : |
91 | 1 | 20 | unless $ok |
94 | 1 | 20 | unless $ok |
95 | 16 | 4 | unless defined wantarray |
96 | 2 | 2 | wantarray ? : |
102 | 15 | 15 | if $sub =~ /'|::/ |