Condition Coverage

blib/lib/MetaCPAN/Client.pm
Criterion Covered Total %
condition 16 32 50.0


and 3 conditions

line !l l&&!r l&&r condition
192 0 0 0 $params and not XXX
195 0 0 0 $params->{'fields'} and not XXX
278 2 36 0 scalar @_ == 3 and !defined($_[2]) || XXX
356 0 1 36 defined $arg and not XXX

or 2 conditions

line l !l condition
107 0 1 shift() || {}
167 0 0 shift() || 100
288 0 41 $fields_filter || ''
334 2 10 $params ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
43 0 19 0 $args{'request'} ||= 'MetaCPAN::Client::Request'->new(('ua', $args{'ua'}) x !!$args{'ua'}, ('domain', $args{'domain'}) x !!$args{'domain'}, ('debug', $args{'debug'}) x !!$args{'debug'})
278 35 0 1 !defined($_[2]) || XXX
6 0 38 scalar @_ == 2 or scalar @_ == 3 and !defined($_[2]) || XXX
331 10 2 1 not defined $params or XXX