Branch Coverage

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


line true false branch
51 0 4 if scalar @_ == 1 and ref $_[0] eq 'HASH'
72 8 8 if ($arg->$WWW::Chain::_isa('HTTP::Request')) { }
6 2 elsif (ref $arg eq 'CODE') { }
2 0 elsif (ref $arg eq '') { }
78 0 2 unless $self->can($arg)
82 0 0 defined $arg ? :
85 0 8 unless @requests
91 0 8 if $self->done
93 0 8 unless scalar @responses == $amount
96 0 8 if grep {not $_->isa('HTTP::Response');} @responses
101 4 4 if ($result[0]->$WWW::Chain::_isa('HTTP::Request'))
103 0 4 if @args