Condition Coverage

blib/lib/SWISH/API/Remote.pm
Criterion Covered Total %
condition 4 19 21.0


and 3 conditions

line !l l&&!r l&&r condition
106 0 0 0 exists $$searchopts{'HEADERS'} and $$searchopts{'HEADERS'}
109 0 0 0 exists $$searchopts{'PROPERTIES'} and $$searchopts{'PROPERTIES'}

or 2 conditions

line l !l condition
32 2 0 $index || 'DEFAULT'
33 0 2 $opts{'DEBUG'} || 0
35 0 2 $opts{'TIMEOUT'} || 3
100 0 0 shift() || ''
101 0 0 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
27 0 2 0 ref $proto || $proto