Condition Coverage

blib/lib/App/Spec/Run/Validator.pm
Criterion Covered Total %
condition 23 32 71.8


and 3 conditions

line !l l&&!r l&&r condition
36 10 4 13 $ok &&= $self->_process($errs, 'type', 'options', 'app', $run)
63 14 2 0 defined $value and not $value =~ /^\d+$/
68 25 2 0 defined $value and $value != 1
76 60 10 5 $spec->multiple and $spec->mapping
89 5 0 0 not keys %$values and $spec->required
112 4 0 6 not @$values and $spec->required
121 0 3 1 $spec->unique and &uniq(@$values) != @$values
136 27 29 4 not defined $value and $spec->required
197 37 0 0 $param_type eq 'file' and $v eq '-'
203 31 0 6 $spec->mapping and keys %$possible_values

or 2 conditions

line l !l condition
162 14 3 $run->cmd->$op($run, $args) || []