Condition Coverage

lib/CPAN/HandleConfig.pm
Criterion Covered Total %
condition 13 74 17.6


and 3 conditions

line !l l&&!r l&&r condition
145 0 0 0 @args == 1 and $args[0] eq ''
208 0 3 0 $mode and not -w _
335 0 30 0 $quote ne ' ' and $command =~ /\s/
30 0 0 $quote ne ' ' and $command =~ /\s/ and not $command =~ /[$quote]/
392 0 0 0 $err_myconfig and not $err_myconfig =~ m[locate CPAN/MyConfig\.pm]
398 0 0 0 $err_config and not $err_config =~ m[locate CPAN/Config\.pm]
426 0 0 48 @miss == 1 and $miss[0] eq 'inhibit_startup_message'
427 48 0 0 defined $INC{'CPAN/Config.pm'} and -w $INC{'CPAN/Config.pm'}
0 0 48 defined $INC{'CPAN/MyConfig.pm'} and -w $INC{'CPAN/MyConfig.pm'}
459 0 48 0 $redo and not $theycalled
536 0 0 0 defined $words[2] and $words[2] =~ /list$/
0 0 0 @words == 4 && length $word
0 0 0 defined $words[2] and $words[2] =~ /list$/ and @words == 3 || @words == 4 && length $word
0 0 0 defined $words[2] and $words[2] eq 'init'
0 0 0 @words >= 4 && length $word
0 0 0 defined $words[2] and $words[2] eq 'init' and @words == 3 || @words >= 4 && length $word

or 2 conditions

line l !l condition
108 0 2 $func ||= ''
222 0 3 $msg ||= "\n"
425 0 48 $redo ||= ''
533 0 0 $word ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
197 0 2 0 $configpm ||= $INC{'CPAN/MyConfig.pm'}
198 2 0 0 $configpm ||= $INC{'CPAN/Config.pm'}
333 0 30 0 $$CPAN::Config{'commands_quote'} || $quotes
438 0 0 0 -d $configpmdir or File::Path::mkpath($configpmdir)
536 0 0 0 @words == 3 || @words == 4 && length $word
0 0 0 @words == 3 || @words >= 4 && length $word