Condition Coverage

blib/lib/Parse/PlainConfig/Legacy.pm
Criterion Covered Total %
condition 48 61 78.6


and 2 conditions

line l !l condition
86 0 31 $rv and scalar keys %args
926 16 0 &$saveEntry() and $i = 0

and 3 conditions

line !l l&&!r l&&r condition
116 0 1 57 defined $arg and exists $self->{$arg}
211 1 15 2 defined $self->{$arg} and ref $self->{$arg} ne ""
336 1 0 2 -e $file and -r _
438 17 2 10 $smart and exists $coerce->{$param}
450 34 0 20 $smart and exists $coerce->{$param}
581 16 13 3 $coerceType eq "string" and ref $value ne ""
19 7 3 $coerceType eq "list" and ref $value ne "ARRAY"
20 3 3 $coerceType eq "hash" and ref $value ne "HASH"
897 92 20 0 $smart and exists $self->{'COERCE'}{$field}
20 0 0 $smart and exists $self->{'COERCE'}{$field} and $self->{'COERCE'}{$field} eq "scalar"

or 3 conditions

line l !l&&r !l&&!r condition
127 0 4 33 $arg eq "CONF" or $arg eq "COERCE"
4 3 30 $arg eq "CONF" or $arg eq "COERCE" or $arg eq "DEFAULTS"
154 2 2 2 $ival eq "string" or $ival eq "list"
4 1 1 $ival eq "string" or $ival eq "list" or $ival eq "hash"
270 17 9 0 shift() || $self->{'FILE'}
367 4 1 0 shift() || $self->{'FILE'}
712 9 6 6 $itype eq "string" or $itype eq "list"
15 6 0 $itype eq "string" or $itype eq "list" or $itype eq "hash"
939 96 207 0 length $entry or $line =~ /\Q$tagDelim\E/ms