Branch Coverage

blib/lib/HH/Unispool/Config/Entry/Device.pm
Criterion Covered Total %
branch 15 38 39.4


line true false branch
320 158 0 defined $_[0] ? :
323 0 158 unless ref $opt eq 'HASH'
326 155 3 if exists $$opt{'description'}
329 0 158 unless exists $$opt{'filter_name'}
343 0 0 unless (exists $ALLOW_ISA{$name} or exists $ALLOW_REF{$name} or exists $ALLOW_RX{$name} or exists $ALLOW_VALUE{$name})
351 0 313 if (ref $val and exists $ALLOW_ISA{$name})
353 0 0 if &UNIVERSAL::isa($val, $class)
358 0 313 if (ref $val and exists $ALLOW_REF{$name})
359 0 0 if exists $ALLOW_REF{$name}{ref $val}
363 313 0 if (not ref $val and exists $ALLOW_RX{$name})
365 313 0 if $val =~ /$rx/
370 0 0 if (not ref $val and exists $ALLOW_VALUE{$name})
371 0 0 if exists $ALLOW_VALUE{$name}{$val}
386 0 38 unless defined $diff_number
389 0 38 if (ref $from ne ref $to)
400 0 38 if ($from->get_description ne $to->get_description)
410 0 38 if ($from->get_filter_name ne $to->get_filter_name)
440 0 155 unless &_value_is_allowed('description', $val)
451 0 158 unless &_value_is_allowed('filter_name', $val)