Condition Coverage

blib/lib/Config/IniFiles.pm
Criterion Covered Total %
condition 42 66 63.6


and 3 conditions

line !l l&&!r l&&r condition
193 27 0 3 ref $parms{-'import'} and $parms{-'import'}->isa('Config::IniFiles')
332 32 1 1 wantarray and ref $val eq 'ARRAY'
609 90 0 21 exists $$self{'v'}{$sect}{$parm} and exists $loaded_params{$sect}
90 6 15 exists $$self{'v'}{$sect}{$parm} and exists $loaded_params{$sect} and grep /^\Q$parm\E$/, @{$loaded_params{$sect};}
634 448 27 2 $$self{'allowcontinue'} and $val =~ s/\\$//
642 398 7 70 exists $$self{'v'}{$sect}{$parm} and exists $loaded_params{$sect}
405 10 60 exists $$self{'v'}{$sect}{$parm} and exists $loaded_params{$sect} and grep /^\Q$parm\E$/, @{$loaded_params{$sect};}
966 1 5 1 defined $$self{'file_mode'} and not oct $$self{'file_mode'} & 146
1106 2 87 22 ref $$self{'sCMT'}{$sect} eq 'ARRAY' and @cmts = @{$$self{'sCMT'}{$sect};}
1116 10 161 9 ref $$self{'pCMT'}{$sect}{$parm} eq 'ARRAY' and @cmts = @{$$self{'pCMT'}{$sect}{$parm};}
1669 2 0 2 defined $parms{-'default'} and defined $$self{'v'}{$parms{-'default'}}

or 2 conditions

line l !l condition
1099 0 13 $$self{'line_ends'} || $\ || "\n"
1126 45 13 $$self{'EOT'}{$sect}{$parm} || 'EOT'
1138 0 0 $$self{'EOT'}{$sect}{$parm} || 'EOT'

or 3 conditions

line l !l&&r !l&&!r condition
244 0 0 1 not defined $v or length $v != 1
259 0 0 0 not defined $v or $v =~ /[\[\]=\w]/
496 0 0 39 not exists $$self{'cf'} or not defined $$self{'cf'}
0 0 39 not exists $$self{'cf'} or not defined $$self{'cf'} or $$self{'cf'} eq ''
504 25 14 0 $$self{'firstload'} or not $$self{'reloadwarn'}
1038 0 0 12 not exists $$self{'cf'} or not defined $$self{'cf'}
0 0 12 not exists $$self{'cf'} or not defined $$self{'cf'} or $$self{'cf'} eq ''
1099 0 0 13 $$self{'line_ends'} || $\
1864 0 270 0 ref $proto || $proto