Branch Coverage

blib/lib/HTML/Widget/Plugin/Struct.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
49 0 5 if not defined $$arg{'attr'}{'name'} and defined $$arg{'attr'}{'id'}
52 0 5 unless defined $$arg{'attr'}{'name'} and length $$arg{'attr'}{'name'}
55 0 5 unless defined $$arg{'value'}
71 0 24 unless defined $$arg{'value'}
75 1 23 if ref $$arg{'value'} and grep {$_ == &Scalar::Util::refaddr($$arg{'value'});} @$ref_stack
103 0 5 $has_id ? :
128 0 14 unless defined $$arg{'value'}[$index]
129 0 14 $has_id ? :
149 16 7 unless length(my $ref = ref $value)
150 0 7 if &Scalar::Util::blessed($value)
151 0 7 unless $DUMPER_FOR{$ref}