Condition Coverage

blib/lib/Config/IOD/Base.pm
Criterion Covered Total %
condition 41 57 71.9


and 3 conditions

line !l l&&!r l&&r condition
116 27 1 38 $val =~ /\A!/ and $self->{'enable_encoding'}
16 12 0 $val =~ /\A"/ and $self->{'enable_quoting'}
10 7 0 $val =~ /\A\[/ and $self->{'enable_bracket'}
8 3 0 $val =~ /\A\{/ and $self->{'enable_brace'}
8 1 0 $val =~ /\A~/ and $self->{'enable_tilde'}
342 0 0 0 $ENV{'HOMEDRIVE'} and $ENV{'HOMEPATH'}
370 0 0 0 $home and -d $home

or 2 conditions

line l !l condition
22 1 25 $attrs{'default_section'} //= 'GLOBAL'
23 1 25 $attrs{'allow_bang_only'} //= 1
24 1 25 $attrs{'allow_duplicate_key'} //= 1
25 2 24 $attrs{'enable_directive'} //= 1
26 1 25 $attrs{'enable_encoding'} //= 1
27 1 25 $attrs{'enable_quoting'} //= 1
28 1 25 $attrs{'enable_bracket'} //= 1
29 1 25 $attrs{'enable_brace'} //= 1
30 0 26 $attrs{'enable_tilde'} //= 1
31 3 23 $attrs{'enable_expr'} //= 0
32 1 25 $attrs{'expr_vars'} //= {}
33 1 25 $attrs{'ignore_unknown_directive'} //= 0

or 3 conditions

line l !l&&r !l&&!r condition
73 0 0 2 $single_quoted or $double_quoted
105 0 0 22 $escaped or $single_quoted
0 1 21 $escaped or $single_quoted or $double_quoted
146 1 3 17 $enc eq 'path' or $enc eq 'paths'