Branch Coverage

blib/lib/Hook/WrapSub.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
16 2 0 if ref $_[0]
17 2 0 if ref $_[-1]
26 2 0 if (defined $sr) { }
36 2 4 if $Hook::WrapSub::UNWRAP
65 1 3 unless (defined $wantarray)
67 1 0 if $precall_cr
69 1 0 if $postcall_cr
73 1 2 unless ($wantarray)
75 1 0 if $precall_cr
77 1 0 if $postcall_cr
82 2 0 if $precall_cr
84 2 0 if $postcall_cr
102 2 0 if (defined $sr) { }
111 2 0 if (defined $cr and $cr =~ /\bCODE\b/) { }