Condition Coverage

blib/lib/Config/INIPlus.pm
Criterion Covered Total %
condition 22 57 38.6


and 3 conditions

line !l l&&!r l&&r condition
173 16 0 4 $p{'_mode'} == 0 and not defined $p{'fh'}
196 0 0 20 defined $p{'fh'} and eval { do { $p{'fh'}->can('getline') } }
277 0 0 8 $p{'_mode'} != 0 and $char eq '}'
294 32 0 48 defined $name and defined $val
295 16 16 16 $p{'_mode'} == 0 and $section
472 0 0 0 defined $section and $section ne ''
504 0 0 0 defined $section and $section ne ''
529 0 0 0 defined $section and $section ne ''
651 0 0 1 defined $file and $file
653 0 0 0 defined $file and $file
688 4 0 1 blessed $obj && $obj->isa('Config::INIPlus')
693 8 4 1 $at_root and $obj->section_exists($key)

or 3 conditions

line l !l&&r !l&&!r condition
218 62 26 48 $p{'_mode'} == 0 or $p{'_mode'} == 1
494 0 0 0 not defined $name or $name eq ''
525 0 0 0 not defined $name or $name eq ''
549 0 0 0 not defined $section or $section eq ''
581 0 0 5 not defined $section or $section eq ''
612 0 0 0 not defined $section or $section eq ''
690 1 3 1 $at_root or ref $obj eq 'HASH'