Branch Coverage

blib/lib/Mojar/Config/Ini.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
15 0 7 unless ref $param{'sections'} eq 'ARRAY' or $param{'sections'} eq ':all' or $param{'sections'} eq ':ignore'
17 0 10 unless $$content_ref
23 1 25 unless /\S/
24 0 25 if /^\s*#/
25 9 16 if /^\s*\[([^\]]+)\]/
27 15 1 if (/^\s*([\w-]+)\s+=\s+(\S.*?)\s*$/) { }
28 4 11 if ($param{'sections'} eq ':ignore') { }
36 0 0 if not $config and $@
40 3 7 if (ref $param{'sections'} eq 'ARRAY')