Branch Coverage

blib/lib/OpenInteract/Config/GlobalOverride.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
23 0 0 unless ($key)
40 0 0 if ($$params{'filename'}) { }
0 0 elsif ($$params{'content'}) { }
56 0 0 if /^\s*$/
57 0 0 if /^\s*\#/
64 0 0 if (/^\s*\[\s*(\S|\S.*\S)\s*\]\s*$/)
65 0 0 if ($current_section and $current_rule)
79 0 0 if ($existing and ref $existing eq 'ARRAY') { }
0 0 elsif ($existing) { }
103 0 0 if ($rules)
122 0 0 unless ref $rule eq 'HASH' and keys %{$rule;}
127 0 0 ref $$rule{'value'} eq 'ARRAY' ? :
133 0 0 if ($$rule{'action'} eq 'add') { }
0 0 elsif ($$rule{'action'} eq 'remove') { }
0 0 elsif ($$rule{'action'} eq 'replace') { }
144 0 0 unless ($$rule{'replace'})
166 0 0 unless (scalar @keys)
180 0 0 if ($i == 0 and $num_keys > 1 and not $$item{$key})
188 0 0 if ($i == $num_keys - 1)
198 0 0 unless ($$item{$key})
199 0 0 if ($$params{'autovifify'} eq 'yes') { }
219 0 0 unless ($type)
220 0 0 if ref $$item{$key} eq 'ARRAY'
221 0 0 if ref $$item{$key} eq 'HASH'
224 0 0 unless ($$item{$key})
225 0 0 if $type eq 'list'
228 0 0 if ($type eq 'list') { }
229 0 0 unless (ref $$item{$key} eq 'ARRAY')
230 0 0 defined $$item{$key} ? :
234 0 0 if ($queue eq 'front') { }
252 0 0 unless ($$item{$key})
257 0 0 unless ($type)
258 0 0 if ref $$item{$key} eq 'ARRAY'
259 0 0 if ref $$item{$key} eq 'HASH'
265 0 0 unless ($$rule{'value'}[0])
273 0 0 if ($type eq 'list') { }
0 0 elsif ($type eq 'hash') { }
290 0 0 unless (ref $$item{$key} eq 'ARRAY')
299 0 0 if ($existing eq $$rule{'replace'}) { }