Branch Coverage

blib/lib/WWW/Chain.pm
Criterion Covered Total %
branch 14 24 58.3


line true false branch
52 0 3 if scalar @_ == 1 and ref $_[0] eq 'HASH'
68 6 6 if ($arg->$WWW::Chain::_isa('HTTP::Request')) { }
4 2 elsif (ref $arg eq 'CODE') { }
2 0 elsif (ref $arg eq '') { }
74 0 2 unless $self->can($arg)
78 0 0 defined $arg ? :
81 0 6 unless @requests
87 0 6 if $self->done
89 0 6 unless scalar @responses == $amount
92 0 6 if grep {not $_->isa('HTTP::Response');} @responses
97 3 3 if ($result[0]->$WWW::Chain::_isa('HTTP::Request'))
99 0 3 if @args