Branch Coverage

blib/lib/WebService/Nestoria/Search/Request.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
43 47 1 unless ($self->{'_uri'})
83 1 45 unless ($response and $response->is_success)
90 44 1 if ($self->{'Params'}{'encoding'} eq 'json') { }
1 0 elsif ($self->{'Params'}{'encoding'} eq 'xml') { }
93 44 0 if (ref $response_obj) { }
105 0 1 if (ref $response_obj->{'response'}{'listings'} eq 'HASH')
109 1 0 if (ref $response_obj) { }