Branch Coverage

blib/lib/XML/Atom/Thing.pm
Criterion Covered Total %
branch 17 36 47.2


line true false branch
23 1 101 @_ == 1 ? :
24 17 85 if (my $stream = delete $param{'Stream'}) { }
0 85 elsif (my $doc = delete $param{'Doc'}) { }
27 8 9 if (ref $stream eq 'SCALAR') { }
1 8 elsif (ref $stream) { }
50 0 0 @_ == 1 ? :
52 0 0 if (my $stream = delete $param{'Stream'}) { }
0 0 elsif (my $doc = delete $param{'Doc'}) { }
0 0 elsif (my $elem = $param{'Elem'}) { }
55 0 0 if (ref $stream eq 'SCALAR') { }
0 0 elsif (ref $stream) { }
63 0 0 unless ($set and $set->size)
72 0 0 unless ($set and $set->size)
84 0 35 if (ref($val) =~ /Element$/) { }
109 5 8 if ($self->version eq '1.0')
112 1 7 @_ > 0 ? :
117 1 9 if ($self->version eq '0.3')
120 0 9 @_ > 0 ? :