Branch Coverage

blib/lib/Net/DHCP/Config/Utilities/Options.pm
Criterion Covered Total %
branch 31 48 64.5


line true false branch
166 0 1 unless (defined $option)
171 0 1 if (defined $self->{'long_to_short'}{$option})
175 0 1 unless (defined $self->{'options'}{$option})
203 0 25 unless (defined $option)
208 0 25 if (defined $self->{'long_to_short'}{$option})
212 0 25 unless (defined $self->{'options'}{$option})
249 0 1 unless (defined $option)
254 0 1 if (defined $self->{'long_to_short'}{$option})
258 0 1 unless (defined $self->{'options'}{$option})
309 0 1 unless (defined $option)
314 0 1 if (defined $self->{'long_to_short'}{$option})
318 0 1 unless (defined $self->{'options'}{$option})
342 0 2 unless (defined $option)
346 1 1 if (defined $self->{'options'}{$option} or defined $self->{'long_to_short'}{$option})
383 0 26 unless (defined $option)
388 1 25 unless (defined $value)
393 0 25 if (defined $self->{'long_to_short'}{$option})
398 0 25 unless (defined $self->{'options'}{$option})
406 1 24 if ($type eq 'txt')
412 20 4 if ($self->{'options'}{$option}{'multiple'}) { }
421 2 36 if ($type eq 'int') { }
36 0 elsif ($type eq 'ip') { }
422 1 1 unless ($test_value =~ /^[0-9]+$/)
429 2 34 if ($@)