Branch Coverage

blib/lib/Net/SMS/ASPSMS/XML.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
37 1 2 defined $_[0] && ref $_[0] eq 'HASH' ? :
39 3 0 if (exists $valid_tags{lc $_})
48 13 0 unless defined $encoding
53 38 339 if (exists $$self{'data'}{lc $_})
54 11 27 /^(.*)_(.*)/ ? :
56 15 23 if ($c ne $container)
57 5 10 if $container
58 10 5 if $c
63 11 27 if $container
67 5 8 if $container
73 0 5 unless my $self = shift()
75 0 5 if $method eq 'DESTROY'
76 5 0 if (exists $valid_tags{lc $method} and defined $_[0]) { }