Branch Coverage

blib/lib/Test/Data/Unixish.pm
Criterion Covered Total %
branch 21 36 58.3


line true false branch
37 0 34 unless $meta
46 1 75 if ($t->{'skip'})
48 1 0 if $msg
52 0 75 if ($t->{'skip_func'}) { }
62 3 72 if (($t->{'func_dies'} // $t->{'dies'}) // 0) { }
66 0 72 unless (&ok(!$err, q[doesn't die]))
72 1 71 if ($t->{'test_out'}) { }
75 0 71 unless is_deeply($rout, $out, 'out')
80 47 25 if (grep {$_ eq 'itemfunc';} @{$$meta{'tags'};} and ref $in eq 'ARRAY')
82 3 44 if ($t->{'skip_itemfunc'}) { }
87 0 44 if ($t->{'test_out'}) { }
90 0 44 unless is_deeply($rout, $out, 'out')
99 72 3 if ($t->{'skip_cli'} // 1) { }
103 0 3 if ($^O =~ /win/i)
108 3 0 unless (which('dux'))
117 0 0 ref $v ? :
128 0 0 if (($t->{'cli_dies'} // $t->{'dies'}) // 0) { }
132 0 0 unless (&ok(!$res->{'exit_code'}, q[doesn't die]))