blib/lib/App/Spec/Run.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 29 | 44 | 65.9 |
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 |
line | l | !l | condition |
---|---|---|---|
35 | 30 | 0 | $self->spec->plugins || [] |
138 | 13 | 0 | $exit || 0 |
253 | 27 | 4 | $out ||= 'out' |
254 | 29 | 2 | $ENV{'PERL5_APPSPECRUN_COLOR'} // '' |
257 | 29 | 2 | $ENV{'PERL5_APPSPECRUN_COLOR'} // '' |
343 | 5 | 26 | $cmd_spec->{'subcommand_required'} // 1 |
348 | 9 | 22 | $cmd_spec->subcommands || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
125 | 1 | 8 | 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 | 1 | not $op or $subcommand_required |