Branch Coverage

blib/lib/FedoraCommons/APIA.pm
Criterion Covered Total %
branch 0 92 0.0


line true false branch
106 0 0 if ($command eq 'version')
109 0 0 if ($parameter eq '3.2')
152 0 0 if ($k eq 'usr') { }
0 0 elsif ($k eq 'pwd') { }
0 0 elsif ($k eq 'host') { }
0 0 elsif ($k eq 'port') { }
0 0 elsif ($k eq 'timeout') { }
0 0 elsif ($k eq 'protocol') { }
168 0 0 unless defined $$self{'host'}
169 0 0 unless defined $$self{'port'}
170 0 0 unless defined $$self{'usr'}
171 0 0 unless defined $$self{'pwd'}
180 0 0 if (defined $$self{'timeout'})
240 0 0 unless defined $args{'maxResults'}
241 0 0 unless defined $args{'fldsrchProperty'}
242 0 0 unless defined $args{'fldsrchOperator'}
243 0 0 unless defined $args{'fldsrchValue'}
244 0 0 unless defined $args{'searchRes_ref'}
266 0 0 if ($@)
272 0 0 if ($findobjs_result->fault)
306 0 0 unless defined $args{'sessionToken'}
307 0 0 unless defined $args{'searchRes_ref'}
320 0 0 if ($@)
326 0 0 if ($resumefindobjs_result->fault)
362 0 0 unless defined $args{'pid'}
363 0 0 unless defined $args{'dsID'}
364 0 0 unless defined $args{'stream_ref'}
368 0 0 unless (defined $args{'asOfDateTime'})
387 0 0 if ($@)
393 0 0 if ($gdd_result->fault)
432 0 0 unless defined $args{'pid'}
433 0 0 unless defined $args{'datastream_ref'}
436 0 0 unless (defined $args{'asOfDateTime'})
454 0 0 if ($@)
460 0 0 if ($lds_result->fault)
469 0 0 if ($args{'list'})
501 0 0 unless defined $args{'pid'}
502 0 0 unless defined $args{'dsID'}
510 0 0 if ($self->listDatastreams('pid', $pid, 'datastream_ref', \$datastreams) == 0)
517 0 0 if (grep(($dsID eq $_), @dslist)) { }
548 0 0 unless defined $args{'pid'}
549 0 0 unless defined $args{'profile_ref'}
552 0 0 unless (defined $args{'asOfDateTime'})
566 0 0 if ($@)
572 0 0 if ($gds_result->fault)
601 0 0 if ($exception_text =~ /^401 Unauthorized/)