Branch Coverage

blib/lib/SignalWire/CompatXML.pm
Criterion Covered Total %
branch 35 40 87.5


line true false branch
29 16 0 if (exists $$self{"_$arg"})
41 139 553 if (@_)
51 135 146 if (@_)
62 64 177 if (@args)
66 3 61 if (ref $arg)
88 31 131 if (@_)
109 17 9 if ($self->{'_parent'})
124 3 47 if scalar @headers
136 131 45 if ($self->name) { }
137 120 11 if (my $content = $self->content) { }
142 61 59 if (ref $content eq 'ARRAY') { }
144 82 0 $child->parent->name ? :
153 59 61 if ($is_str) { }
174 44 1 if (ref $content eq 'ARRAY') { }
176 0 44 $child->parent->name ? :
223 3 41 if ($STRICT and keys %TAGS)
224 3 0 unless (exists $TAGS{$method})
232 0 41 if $meth_ref
241 25 50 if (ref $arg) { }
265 1 40 unless $meth_ref