Branch Coverage

blib/lib/WWW/Twilio/TwiML.pm
Criterion Covered Total %
branch 35 40 87.5


line true false branch
29 16 0 if (exists $$self{"_$arg"})
41 98 382 if (@_)
51 94 102 if (@_)
62 53 122 if (@args)
66 3 50 if (ref $arg)
88 22 90 if (@_)
109 17 9 if ($$self{'_parent'})
124 3 33 if scalar @headers
136 90 31 if ($self->name) { }
137 86 4 if (my $content = $self->content) { }
142 38 48 if (ref $content eq 'ARRAY') { }
144 55 0 $child->parent->name ? :
153 48 38 if ($is_str) { }
174 30 1 if (ref $content eq 'ARRAY') { }
176 0 30 $child->parent->name ? :
223 3 27 if ($STRICT and keys %TAGS)
224 3 0 unless (exists $TAGS{$method})
232 0 27 if $meth_ref
241 16 39 if (ref $arg) { }
265 1 26 unless $meth_ref