Branch Coverage

blib/lib/Data/Unixish.pm
Criterion Covered Total %
branch 52 66 78.7


line true false branch
49 6 45 if ($accepts eq 'c')
52 4 47 if ($returns eq 'c')
56 14 37 if ($accepts eq 'f') { }
6 31 elsif ($accepts eq 'c') { }
15 16 elsif ($accepts eq 'l') { }
16 0 elsif ($accepts eq 'a') { }
89 10 41 if (ref $func eq 'ARRAY')
95 15 36 unless package_exists($pkg)
98 0 51 unless defined &$funcname
103 4 47 if ($returns eq 'c') { }
14 33 elsif ($returns eq 'f') { }
117 13 0 unless $item =~ /\n\z/
123 0 14 unless defined $pid
128 41 10 unless ($pid)
131 0 41 unless $res->[0] == 200
135 16 35 if ($returns eq 'l') { }
17 18 elsif ($returns eq 'a') { }
4 14 elsif ($returns eq 'c') { }
14 0 elsif ($returns eq 'f') { }
136 11 5 if (wantarray) { }
146 10 4 if ($pid) { }
185 4 51 if ($accepts eq 's') { }
51 0 elsif ($accepts eq 'a') { }
0 0 elsif ($accepts eq 'l') { }
195 51 4 if (ref $func eq 'ARRAY')
201 2 53 unless package_exists($pkg)
204 0 55 unless defined &$funcname_i
211 30 25 if defined &$funcname_b
215 11 44 if defined &$funcname_e
218 4 51 if ($returns eq 's') { }
0 51 elsif ($returns eq 'l') { }
51 0 elsif ($returns eq 'a') { }
221 0 0 if (wantarray) { }