Branch Coverage

lib/Net/ISC/DHCPd.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
147 4 5 if ($what eq 'config') { }
5 0 elsif ($what eq 'leases') { }
165 0 6 if ($child_error and $child_error == -1) { }
1 5 elsif ($child_error) { }
182 0 9 unless pipe my $reader, my $writer
184 6 3 if (my $pid = fork) { }
3 0 elsif (defined $pid) { }
192 0 3 unless open STDERR, '>&', $writer
193 0 3 unless open STDOUT, '>&', $writer