Condition Coverage

blib/lib/App/Cpan.pm
Criterion Covered Total %
condition 10 56 17.8


and 3 conditions

line !l l&&!r l&&r condition
406 2 1 1 $ARGV[0] eq 'install' and @ARGV > 1
534 0 0 0 @ARGV and not $takes_args
617 0 0 0 not $switch and @$args
0 0 0 $switch and not @$args
1199 0 0 0 200 <= $status_code and $status_code <= 300
1272 0 0 0 _safe_load_module('LWP::Simple') and _safe_load_module('URI')
1521 0 0 0 defined $guesses and @$guesses

or 2 conditions

line l !l condition
413 0 1 $ENV{'CPAN_OPTS'} || ''
582 0 0 $ENV{'CPANSCRIPT_LOGLEVEL'} || 'INFO'
681 3 15 $CPAN::Config->{'colorize_print'} || 'bold blue on_white'
689 3 11 $CPAN::Config->{'colorize_warn'} || 'bold red on_white'
891 0 0 $_[0] || ''
1133 0 0 $args->[0] || \*STDOUT
1228 0 0 $ENV{'GIT_COMMAND'} || '/usr/local/bin/git'

or 3 conditions

line l !l&&r !l&&!r condition
608 0 0 0 $option eq 'f' or $option eq 'T'
617 0 0 0 $switch || @$args
774 0 0 0 _cpanpm_output_indicates_failure() or _cpanpm_output_indicates_success()
907 2 0 1 $1 || $>
1448 0 0 0 $in_pod or /^\s*#/
1589 0 0 0 $threshold ||= $try->[2]
1592 0 0 0 $_threshold ||= $threshold