Branch Coverage

blib/lib/WDDX/Struct.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
37 0 0 unless %$hashref
0 0 unless eval { do { 1 unless %$hashref } }
41 0 0 unless eval { do { $_->can('_serialize') } }
102 0 0 unless eval { do { $value->can('_serialize') } }
118 0 0 wantarray ? :
126 0 0 wantarray ? :
189 0 0 unless ($element eq 'struct' and not $$self{'seen_structs'}++)
190 0 0 if ($element eq 'var' and $$self{'seen_structs'} == 1) { }
194 0 0 unless ($parse_var)
195 0 0 unless $parse_var = 'WDDX::Parser'->create_var($element)
212 0 0 if ($element eq 'struct' and not --$$self{'seen_structs'}) { }
0 0 elsif ($element eq 'var' and $$self{'seen_structs'} == 1) { }
215 0 0 unless ref $$self{'value'}{$_}
223 0 0 unless ($parse_var)
238 0 0 if ($parse_var) { }
0 0 elsif ($data =~ /\S/) { }
257 0 0 unless (defined $curr_key)
261 0 0 if (defined $var)
262 0 0 unless defined $curr_key
266 0 0 ref $curr_var && $curr_var->is_parser ? :
277 0 0 if (exists $$hash{lc $name})
281 0 0 unless $name eq lc $name