| blib/lib/App/Cpan.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 40 | 25.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 338 | 2 | 1 | 1 | $ARGV[0] eq 'install' and @ARGV > 1 |
| 450 | 0 | 0 | 0 | @ARGV and not $takes_args |
| 516 | 0 | 0 | 0 | not $switch and @$args |
| 0 | 0 | 0 | $switch and not @$args |
| line | l | !l | condition |
|---|---|---|---|
| 345 | 0 | 1 | $ENV{'CPAN_OPTS'} || '' |
| 481 | 0 | 0 | $ENV{'CPANSCRIPT_LOGLEVEL'} || 'INFO' |
| 570 | 3 | 15 | $$CPAN::Config{'colorize_print'} || 'bold blue on_white' |
| 578 | 3 | 11 | $$CPAN::Config{'colorize_warn'} || 'bold red on_white' |
| 775 | 0 | 0 | $_[0] || '' |
| 977 | 0 | 0 | shift() || '' |
| 1002 | 0 | 0 | $$args[0] || \*STDOUT |
| 1093 | 0 | 0 | $ENV{'GIT_COMMAND'} || '/usr/local/bin/git' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 516 | 0 | 0 | 0 | $switch || @$args |
| 657 | 0 | 0 | 0 | _cpanpm_output_indicates_failure() or _cpanpm_output_indicates_success() |
| 791 | 2 | 0 | 1 | $1 || $> |
| 1302 | 0 | 0 | 0 | $in_pod or /^\s*#/ |