Branch Coverage

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


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