Condition Coverage

blib/lib/App/Cpan.pm
Criterion Covered Total %
condition 8 40 20.0


and 3 conditions

line !l l&&!r l&&r condition
326 2 1 1 $ARGV[0] eq 'install' and @ARGV > 1
437 0 0 0 @ARGV and not $takes_args
501 0 0 0 not $switch and @$args
0 0 0 $switch and not @$args

or 2 conditions

line l !l condition
333 0 1 $ENV{'CPAN_OPTS'} || ''
466 0 0 $ENV{'CPANSCRIPT_LOGLEVEL'} || 'INFO'
550 3 15 $$CPAN::Config{'colorize_print'} || 'bold blue on_white'
558 3 11 $$CPAN::Config{'colorize_warn'} || 'bold red on_white'
743 0 0 $_[0] || ''
930 0 0 shift() || ''
955 0 0 $$args[0] || \*STDOUT
1046 0 0 $ENV{'GIT_COMMAND'} || '/usr/local/bin/git'

or 3 conditions

line l !l&&r !l&&!r condition
501 0 0 0 $switch || @$args
625 0 0 0 _cpanpm_output_indicates_failure() or _cpanpm_output_indicates_success()
758 0 0 0 $1 || $>
1255 0 0 0 $in_pod or /^\s*#/