Branch Coverage

complex.pd
Criterion Covered Total %
branch 40 58 68.9


line true false branch
228 1 48 @_ ? :
348 3 5 if UNIVERSAL::isa($ndarray, "PDL::Complex")
349 0 5 unless UNIVERSAL::isa($ndarray, "PDL")
350 0 5 if $ndarray->type->real
416 0 10 if UNIVERSAL::isa($_[0], "PDL::Complex")
417 0 10 unless $_[0]->dims > 0 and $_[0]->dim(0) == 2
422 2 10 if UNIVERSAL::isa($_[0], "PDL::Complex")
423 0 10 unless $_[0]->dims > 0 and $_[0]->dim(0) == 2
431 0 63 unless UNIVERSAL::isa($_[0], "PDL::Complex")
455 1 1 $ndims > 1 ? :
2 2 $ndims > 2 ? :
458 1 3 $conj ? :
1044 0 137 ref $_[1] ? :
1045 72 65 ($first // '') =~ /^[:x]?$/i ? :
1190 0 8 unless my($op, $commutes, $func) = /(\S+)([-+])(\w+)/
1191 3 5 $commutes eq '+' ? :
0 10 $_[2] ? :
0 5 $_[2] ? :
0 3 $_[2] ? :
0 1 $_[2] ? :
2 11 $_[2] ? :
1196 0 8 if $@
1197 3 5 exists $NO_MUTATE{$op} ? :
1203 6 0 if $op =~ /\w+/
1215 3 0 !$_[2] ? :
1216 0 3 if ref $args[1] ne __PACKAGE__
1226 1 9 $_[0]->isnull ? :
1231 0 5 if $x->dims == 1
1247 0 4 if $x->dims == 1