Branch Coverage

blib/lib/Cookieville/Client.pm
Criterion Covered Total %
branch 30 40 75.0


line true false branch
94 5 0 if $self->url
110 5 7 unless ref $cb eq 'CODE'
111 0 7 unless $source and defined $id
136 6 8 unless ref $cb eq 'CODE'
137 0 8 unless $source and defined $id
138 1 7 unless ref $data eq 'HASH'
167 6 8 unless ref $cb eq 'CODE'
168 0 8 unless $source
169 1 7 unless ref $data eq 'HASH'
221 7 5 ref $_[-1] eq 'CODE' ? :
227 5 7 unless ref $cb eq 'CODE'
228 0 7 unless $source
229 0 7 unless ref($query) =~ /HASH|ARRAY/
231 1 6 if $$extra{'columns'}
232 1 6 if $$extra{'order_by'}
259 13 9 if $err
267 2 0 if $self
277 0 28 if (not ref $res) { }
15 13 elsif ($tx->res->code != 200) { }
279 0 0 if ref $err