Condition Coverage

blib/lib/Config/Auto.pm
Criterion Covered Total %
condition 34 54 62.9


and 3 conditions

line !l l&&!r l&&r condition
221 0 63 0 $self->file and -B $self->file
63 0 0 $self->file and -B $self->file and $] >= '5.006'
226 56 7 0 exists $$score{'perl'} and $Config::Auto::DisablePerl
272 286 0 6 /(?:\#|%) # a #YAML or %YAML YAML (?::|\s) # a YAML: or YAML[space] /x and $$data[0] eq $_
276 286 0 6 /^---/ and $$data[0] eq $_
300 198 0 3 /^\s*}\s*$/ and exists $score{'bind'}
301 201 0 0 /^\s*};\s*$/ and exists $score{'irssi'}
326 44 6 8 $score{'equal'} and $score{'space'}
50 7 1 $score{'equal'} and $score{'space'} and $score{'equal'} == $score{'space'}
491 1 0 1 $try = $self->_chkpaths($path, $name) and -e $try
493 0 1 0 $ENV{'HOME'} and -e ($try = catfile($ENV{'HOME'}, $name))
613 73 12 6 exists $$c{$k} and not ref $$c{$k}
631 6 0 0 exists $$c{$k} and ref $$c{$k} ne 'HASH'
673 15 0 0 $v =~ /,/ and not $v =~ /(["']).*?,.*?\1/
703 30 6 1 $v =~ /,/ and not $v =~ /(["']).*?,.*?\1/

or 3 conditions

line l !l&&r !l&&!r condition
321 0 0 1 "@$data" =~ /;/ > 3 or $#$data < 3
429 20 22 25 ref $src or $src =~ /\n/
483 24 1 0 $file || ("${whoami}config", "$whoami.config", "${whoami}rc", ".${whoami}rc")