blib/lib/App/Cpan.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 49 | 20.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
404 | 2 | 1 | 1 | $ARGV[0] eq 'install' and @ARGV > 1 |
532 | 0 | 0 | 0 | @ARGV and not $takes_args |
598 | 0 | 0 | 0 | not $switch and @$args |
0 | 0 | 0 | $switch and not @$args | |
1496 | 0 | 0 | 0 | defined $guesses and @$guesses |
line | l | !l | condition |
---|---|---|---|
411 | 0 | 1 | $ENV{'CPAN_OPTS'} || '' |
563 | 0 | 0 | $ENV{'CPANSCRIPT_LOGLEVEL'} || 'INFO' |
660 | 3 | 15 | $CPAN::Config->{'colorize_print'} || 'bold blue on_white' |
668 | 3 | 11 | $CPAN::Config->{'colorize_warn'} || 'bold red on_white' |
870 | 0 | 0 | $_[0] || '' |
1085 | 0 | 0 | shift() || '' |
1110 | 0 | 0 | $args->[0] || \*STDOUT |
1203 | 0 | 0 | $ENV{'GIT_COMMAND'} || '/usr/local/bin/git' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
589 | 0 | 0 | 0 | $option eq 'f' or $option eq 'T' |
598 | 0 | 0 | 0 | $switch || @$args |
753 | 0 | 0 | 0 | _cpanpm_output_indicates_failure() or _cpanpm_output_indicates_success() |
886 | 2 | 0 | 1 | $1 || $> |
1423 | 0 | 0 | 0 | $in_pod or /^\s*#/ |
1555 | 0 | 0 | 0 | $threshold ||= $try->[2] |