Condition Coverage

blib/lib/App/Spec/Run.pm
Criterion Covered Total %
condition 29 44 65.9


and 3 conditions

line !l l&&!r l&&r condition
192 2 0 0 $unique and $seen{$name}++
197 3 3 1 $unique and $seen{$item}++
260 2 0 0 $out eq "out" and -t STDOUT
0 2 0 $out eq "err" and -t STDERR

or 2 conditions

line l !l condition
35 33 0 $self->spec->plugins || []
138 13 0 $exit || 0
253 27 7 $out ||= "out"
254 32 2 $ENV{'PERL5_APPSPECRUN_COLOR'} // ""
257 32 2 $ENV{'PERL5_APPSPECRUN_COLOR'} // ""
343 9 26 $cmd_spec->{'subcommand_required'} // 1
348 13 22 $cmd_spec->subcommands || {}

or 3 conditions

line l !l&&r !l&&!r condition
125 1 11 13 ref $text or $text =~ /\n\z/
131 0 27 1 ref $text or $text =~ /\n\z/
158 4 0 0 $param ||= $option_specs->{$completion_parameter}
212 5 4 0 $key eq "parameters" or $key eq "options"
260 0 0 2 $out eq "out" and -t STDOUT or $out eq "err" and -t STDERR
318 1 0 3 not $op or $subcommand_required