Branch Coverage

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


line true false branch
57 0 3 if scalar @_ == 1 and ref $_[0] eq 'HASH'
73 6 6 if ($arg->$WWW::Chain::_isa('HTTP::Request')) { }
4 2 elsif (ref $arg eq 'CODE') { }
2 0 elsif (ref $arg eq '') { }
79 0 2 unless $self->can($arg)
83 0 0 defined $arg ? :
86 0 6 unless @requests
92 0 6 if $self->done
94 0 6 unless scalar @responses == $amount
97 0 6 if grep {not $_->isa('HTTP::Response');} @responses
102 3 3 if ($result[0]->$WWW::Chain::_isa('HTTP::Request'))
104 0 3 if @args