Branch Coverage

blib/lib/Validation/Class/Directive/Hostname.pm
Criterion Covered Total %
branch 4 6 66.6


line true false branch
24 12 0 if (defined $field->{'hostname'} and defined $param)
26 12 0 if ($field->{'required'} or $param)
30 9 3 unless $param =~ /$hnre/