Branch Coverage

blib/lib/SRU/Request.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
34 4 0 if (@_ % 2) { }
37 1 3 if (UNIVERSAL::isa($q, 'CGI')) { }
3 0 elsif ((reftype $q // '') eq 'HASH') { }
48 4 0 unless (UNIVERSAL::isa($q, 'URI'))
51 4 0 if (UNIVERSAL::isa($q, 'URI')) { }
63 2 2 if ($operation eq 'scan') { }
1 1 elsif ($operation eq 'searchRetrieve') { }
1 0 elsif ($operation eq 'explain') { }
95 0 0 if $self->$param
99 0 0 if ($self->can('cql'))
101 0 0 if ($cql)
124 28 14 if defined $self->$_