Branch Coverage

blib/lib/Net/DHCP/Config/Utilities/INI_loader.pm
Criterion Covered Total %
branch 16 28 57.1


line true false branch
60 0 3 if (ref $obj ne 'Net::DHCP::Config::Utilities')
94 0 8 if (not defined $file) { }
0 8 elsif (not -f $file) { }
101 0 8 unless (defined $ini)
106 8 0 if ($key ne '_')
114 3 32 if ($option_key =~ /^range/) { }
117 3 0 if (not defined $options->{'ranges'}) { }
131 0 8 if ($@)
138 1 7 if ($@)
177 0 2 if (not defined $dir) { }
0 2 elsif (not -d $dir) { }
183 2 0 unless (defined $name)
191 0 2 unless (defined $files[0])
201 0 4 if ($@)