Branch Coverage

blib/lib/WWW/AUR/RPC.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
47 0 109 unless $resp->is_success
53 0 109 if ($data->{'type'} eq 'error') { }
1 108 elsif ($data->{'resultcount'} == 0) { }
71 0 1 unless $resp->is_success
77 0 1 if ($data->{'type'} eq 'error')
89 1 2 if ($query =~ /\A\^/ or $query =~ /\$\z/)
91 0 1 if ($@)
103 0 3 unless $resp->is_success
109 0 3 if ($data->{'type'} eq 'error')
115 1 2 if ($regexp)
130 0 2 unless $resp->is_success
136 0 2 if ($json_ref->{'type'} eq 'error')