Condition Coverage

blib/lib/PDL/Complex.pm
Criterion Covered Total %
condition 25 54 46.3


and 3 conditions

line !l l&&!r l&&r condition
286 0 0 4 $_[0]->dims > 0 and $_[0]->dim(0) == 2
292 0 0 8 $_[0]->dims > 0 and $_[0]->dim(0) == 2
1374 4 2 2 ref $_[1] and ref $_[1] ne 'PDL'
6 0 2 ref $_[1] and ref $_[1] ne 'PDL' and defined($foo = overload::Method($_[1], '+'))
1383 6 2 0 ref $_[1] and ref $_[1] ne 'PDL'
8 0 0 ref $_[1] and ref $_[1] ne 'PDL' and defined($foo = overload::Method($_[1], '*'))
1392 5 52 1 ref $_[1] and ref $_[1] ne 'PDL'
57 0 1 ref $_[1] and ref $_[1] ne 'PDL' and defined($foo = overload::Method($_[1], '-'))
1401 0 0 0 ref $_[1] and ref $_[1] ne 'PDL'
0 0 0 ref $_[1] and ref $_[1] ne 'PDL' and defined($foo = overload::Method($_[1], '/'))
1523 20 0 0 $badflag and $t eq 'BAD'
1528 0 20 0 $dformat and length $t > 7
1553 1 0 0 defined $format1 && defined $format2
1656 1 0 0 $badflag and $x->[$i] eq 'BAD'
1674 1 0 0 $badflag and $x->[$i] eq 'BAD'

or 3 conditions

line l !l&&r !l&&!r condition
1317 3 3 15 $1 eq 'atan2' or $1 eq '<=>'
1553 1 0 0 not defined $format1 && defined $format2 or $format1 eq ''
1 0 0 not defined $format1 && defined $format2 or $format1 eq '' or $format2 eq ''