Branch Coverage

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


line true false branch
187 2 0 if ref $_[0]
188 2 0 if ref $_[-1]
197 2 0 if (defined $sr) { }
207 2 4 if $Hook::WrapSub::UNWRAP
235 1 3 unless (defined $wantarray)
237 1 0 if $precall_cr
239 1 0 if $postcall_cr
243 1 2 unless ($wantarray)
245 1 0 if $precall_cr
247 1 0 if $postcall_cr
252 2 0 if $precall_cr
254 2 0 if $postcall_cr
272 2 0 if (defined $sr) { }
281 2 0 if (defined $cr and $cr =~ /\bCODE\b/) { }