Branch Coverage

blib/lib/MooX/Cmd/Tester.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
24 0 0 unless $TEST_IN_PROGRESS
36 3 16 defined $$result{'error'} ? :
40 0 19 if $$result{'error'} and eval { do { $$result{'error'}->isa('MooX::Cmd::Tester::Exited') } }
55 0 16 unless ok !$rv->error, "Everythink ok running cmd $test_ident"
57 10 6 if $rv and not $rv->error and $rv->cmd and $rv->cmd->command_name
70 0 19 if ($^O eq 'MSWin32') { }
99 8 11 ref $app ? :
100 8 8 if ref $app
105 10 6 if @$argv and defined($cmd_name = $cmd->command_name)
107 10 6 if @$argv
109 9 7 unless ($execute_rv = $cmd->execute_return)
113 9 0 if $cce
114 9 0 if $cce
115 6 3 if $command_execute_from_new
116 9 0 unless $command_execute_from_new
117 6 3 if $command_execute_method_name
124 16 3 $ok ? :
161 0 0 unless defined $code