Branch Coverage

blib/lib/JSON/RPC2/AnyEvent/Client.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
28 0 2 if 'listed' eq $self->{'call'}
29 0 2 if 'named' eq $self->{'call'}
31 0 8 if (exists $self->{$_}) { }
37 1 1 if ($self->{'url'}) { }
49 0 1 if $self->{'http'}
55 0 0 if $self->{'handle'}
60 0 0 if $self->{'handle'}
97 2 2 if (exists $self->{'remappable'}{$method})
104 0 2 $self->{'service'} ? :
125 0 1 if $failed
136 0 1 unless ($hdr->{'Status'} =~ /^2/)
143 0 1 if $failed
152 0 2 if ($self->{'simplify_errors'}) { }
163 1 1 if $self->{'handle'}