Branch Coverage

blib/lib/MCP/Run.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
50 2 2 if (my $allowed = $self->allowed_commands)
52 1 1 unless ($first_word and grep {$_ eq $first_word;} @$allowed)
76 4 1 if length $stdout
77 1 4 if length $stderr
78 1 4 if defined $error
80 1 4 $exit_code != 0 ? :