Condition Coverage

lib/CPANPLUS/YACSmoke/IniFiles.pm
Criterion Covered Total %
condition 12 71 16.9


and 3 conditions

line !l l&&!r l&&r condition
345 4 0 0 ref $parms{'-import'} and $parms{'-import'}->isa('CPANPLUS::YACSmoke::IniFiles')
789 0 0 4 exists $self->{'cf'} && defined $self->{'cf'}
814 0 0 4 ref $fh ne 'IO::Scalar' and -e $fh
834 0 0 0 $self->{'negativedeltas'} and /^$self->{'comment_char'} (.*) is deleted$/
857 5 0 0 not defined $sect and defined $self->{'fallback'}
897 1 0 0 $self->{'allowcontinue'} and $val =~ s/\\$//
906 5 0 0 exists $self->{'v'}{$sect}{$parm} and exists $self->{'myparms'}{$sect}
0 0 0 exists $self->{'v'}{$sect}{$parm} and exists $self->{'myparms'}{$sect} and grep /^\Q$parm\E$/, @{$$self{'myparms'}{$sect};}
1252 0 0 0 defined $self->{'file_mode'} and not oct $self->{'file_mode'} & 146
1326 0 0 0 exists $self->{'cf'} && defined $self->{'cf'}
1434 0 0 0 ref $self->{'sCMT'}{$sect} eq 'ARRAY' and @cmts = @{$self->{'sCMT'}{$sect};}
1441 0 0 0 $self->{'fallback_used'} and $sect eq $self->{'fallback'}
1459 0 0 0 ref $self->{'pCMT'}{$sect}{$parm} eq 'ARRAY' and @cmts = @{$self->{'pCMT'}{$sect}{$parm};}

or 2 conditions

line l !l condition
1020 13 0 $self->{'mysects'} ||= []
1031 5 4 $self->{'myparms'}{$sect} ||= []
1394 0 0 $self->{'EOT'}{$sect}{$parm} || 'EOT'
1418 0 0 $self->{'line_ends'} || $\ || "\n"

or 3 conditions

line l !l&&r !l&&!r condition
394 0 0 0 not defined $v or length $v != 1
409 0 0 0 not defined $v or $v =~ /[\[\]=\w]/
789 0 0 4 not exists $self->{'cf'} && defined $self->{'cf'} or $self->{'cf'} eq ''
795 4 0 0 $self->{'firstload'} or not $self->{'reloadwarn'}
926 4 0 0 keys %{$$self{'v'};} or $self->{'allowempty'}
1326 0 0 0 not exists $self->{'cf'} && defined $self->{'cf'} or $self->{'cf'} eq ''
1387 0 0 0 @$val <= 1 or $self->{'nomultiline'}
2205 0 0 0 ref $proto || $proto