Branch Coverage

lib/Aspect/Hook/LexWrap.pm
Criterion Covered Total %
branch 21 48 43.7


line true false branch
13 0 96 unless my(@caller) = caller $i++
14 0 96 if $name_cache
15 0 96 $caller[0] eq 'Aspect::Hook::LexWrap' ? :
16 64 32 if $name_cache or $height-- != 0
17 0 0 @_ ? :
0 32 wantarray ? :
25 9 0 ref $typeglob || $typeglob =~ /::/ ? :
31 9 9 if $wrapper{$_}
37 32 14 if ($unwrap)
39 0 14 if (wantarray) { }
14 0 elsif (defined wantarray) { }
41 0 0 if $wrapper{'pre'}
42 0 0 if (ref $return eq 'ARRAY' and $return == $prereturn and not @$return)
44 0 0 if $wrapper{'post'}
47 0 0 ref $return eq 'ARRAY' ? :
51 10 4 if $wrapper{'pre'}
52 9 5 unless ($prereturn)
54 4 5 if $wrapper{'post'}
61 0 0 if $wrapper{'pre'}
62 0 0 unless ($prereturn)
64 0 0 if $wrapper{'post'}
70 0 0 defined wantarray ? :
0 9 if ref $typeglob eq 'CODE'
74 0 9 unless defined wantarray