Branch Coverage

blib/lib/Net/Amazon/MechanicalTurk/XMLParser.pm
Criterion Covered Total %
branch 1 34 2.9


line true false branch
25 0 2 if ($#_ >= 0) { }
40 0 0 unless ($response->is_success)
49 0 0 unless ($in)
58 0 0 if (UNIVERSAL::isa($xml, 'GLOB'))
73 0 0 wantarray ? :
90 0 0 if ($#$stack >= 0) { }
92 0 0 unless (exists $$parent{$element})
104 0 0 if (%attrs)
116 0 0 if (not exists $$parent{'_value'}) { }
132 0 0 unless defined $node
135 0 0 if ($name eq '_value')
136 0 0 if ($array =~ /^\s*$/)
142 0 0 unless UNIVERSAL::isa($array, 'ARRAY')
146 0 0 if (UNIVERSAL::isa($subNode, 'HASH'))
147 0 0 if (exists $$subNode{'_value'} and $$subNode{'_value'} =~ /^\s*$/)
150 0 0 if (exists $$subNode{'_value'} and scalar keys %$subNode == 1) { }
0 0 elsif (scalar keys %$subNode == 0) { }