Condition Coverage

blib/lib/Config/Manager/Conf.pm
Criterion Covered Total %
condition 76 119 63.8


and 3 conditions

line !l l&&!r l&&r condition
106 278 4 0 not -r $_ and /$PRIVATE/io
134 65 4 6 $section eq $ENV and defined $ENV{$key}
135 69 0 0 $section eq $SPECIAL and $key eq $WHOAMI || $key eq $HOME
187 2 0 1 $anchor and -f $anchor
2 0 1 $anchor and -f $anchor and -r $anchor
0 0 1 $anchor and -f $anchor and -r $anchor and -s $anchor
193 0 0 2 $anchor and -f $anchor
0 0 2 $anchor and -f $anchor and -r $anchor
0 0 2 $anchor and -f $anchor and -r $anchor and -s $anchor
198 0 0 3 $self->set($SYS, $SPECIAL, $SCOPE, $scope) && $self->add($anchor)
246 126 2187 3 $section eq $SPECIAL and $source ne $SYS
2313 3 0 $section eq $SPECIAL and $source ne $SYS and $key eq $OS || $key eq $PERL || $key eq $SCOPE
258 1 0 1 $sec =~ /^[a-zA-Z][a-zA-Z0-9_-]*$/ and substr($sec, -1) ne '-'
371 4556 5683 14171 /^\s*(\S)/ and $1 ne '#'
375 12534 1 1636 /^\s*\[\s*([a-zA-Z][a-zA-Z0-9_-]*)\s*\]$/ and substr($1, -1) ne '-'
380 21 1 12513 /^\s*\$?([a-zA-Z][a-zA-Z0-9_-]*)\s*=\s*(.*?\S.*?)\s*$/ and substr($1, -1) ne '-'
388 12499 3 10 $key eq $NEXTCONF and $section eq $scope
417 12636 2188 0 $section eq $SPECIAL and $key eq $HOME || $key eq $WHOAMI
421 14469 348 7 defined $src and $src eq $source
14817 3 4 defined $src and $src eq $source and $src ne $SYS
351 0 4 defined $src and $src eq $source and $src ne $SYS and $src ne $USR
423 0 0 4 $line and $$self{$section}{$key}{'line'}

or 2 conditions

line l !l condition
203 165 0 ref $this || $this || 'Config::Manager::Conf'

or 3 conditions

line l !l&&r !l&&!r condition
129 672 138 0 pop() || $DEFAULT
135 0 0 0 $key eq $WHOAMI || $key eq $HOME
182 3 0 0 shift() || $DEFAULT
244 2196 120 0 pop() || $DEFAULT
245 2187 129 0 pop() || $USR
246 1 1 1 $key eq $OS || $key eq $PERL || $key eq $SCOPE
297 0 0 0 shift() || $DEFAULT
403 37 0 82 defined $section or defined $source
37 0 82 defined $section or defined $source or defined $line
417 0 0 2188 $key eq $HOME || $key eq $WHOAMI
2 0 14824 $section eq $ENV or $section eq $SPECIAL and $key eq $HOME || $key eq $WHOAMI
431 2313 12265 233 $override or not $src
446 155 0 0 pop() || $DEFAULT
534 55 26 0 $section || $eval
536 6 0 10 $section or $@ ne _not_found_($eval, $variable)
550 32 108 0 $section || $eval
552 8 16 10 $section or $@ ne _not_found_($eval, $variable)