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
119 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'}
345 0 0 0 $ENV{'HOMEDRIVE'} and $ENV{'HOMEPATH'}
373 0 0 0 $home and -d $home

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
76 0 0 2 $single_quoted or $double_quoted
108 0 0 22 $escaped or $single_quoted
0 1 21 $escaped or $single_quoted or $double_quoted
149 1 3 17 $enc eq "path" or $enc eq "paths"