Condition Coverage

blib/lib/PDL/Basic.pm
Criterion Covered Total %
condition 20 31 64.5


and 3 conditions

line !l l&&!r l&&r condition
119 260 428 2 not $keep_type and $dummy->get_datatype < PDL::Core::float()->enum
461 218 0 1 ref $_[0] && UNIVERSAL::isa($_[0], 'PDL')
676 76 0 1 $conj && !$r->type->real

or 2 conditions

line l !l condition
110 156 552 ref $_[$_] || ''
460 64 500 ref $_[$_] || ''

or 3 conditions

line l !l&&r !l&&!r condition
233 0 0 19 $min <= 0 or $max <= 0
420 5 0 0 $min //= $pdl->min
421 5 0 0 $max //= $pdl->max
422 5 0 0 $step //= ($max - $min) / ($nelem > 10000 ? 100 : sqrt $nelem)
461 63 1 218 $type_given ||= ref $_[0] && UNIVERSAL::isa($_[0], 'PDL')
556 16 22 0 $pos[$i] // int $r->getdim($i) / 2