Branch Coverage

blib/lib/XML/Atom/Syndication/Thing.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
21 113 89 @_ == 1 ? :
23 191 11 if (%param) { }
24 113 78 if (my $stream = $param{'Stream'}) { }
78 0 elsif ($param{'Elem'}) { }
26 0 113 if (ref $stream eq 'SCALAR') { }
113 0 elsif (ref $stream eq 'GLOB' or not ref $stream) { }
31 0 113 if (not ref $stream eq 'GLOB') { }
33 0 0 unless open $fh, $stream
38 0 113 unless ref $stream eq 'GLOB'