Branch Coverage

blib/lib/Math/Complex_C/Q.pm
Criterion Covered Total %
branch 24 48 50.0


line true false branch
78 0 1 unless defined $im
80 0 1 if $re =~ /^(\+|\-)?nan/i
81 0 1 if $im =~ /^(\+|\-)?nan/i
83 0 1 if ($re =~ /^(\+|\-)?inf/i)
84 0 0 if ($re =~ /^\-inf/i) { }
88 0 1 if ($im =~ /^(\+|\-)?inf/i)
89 0 0 if ($re =~ /^\-inf/i) { }
100 0 7 if ($real == 0) { }
4 3 elsif ($real != $real) { }
0 3 elsif ($real / $real != $real / $real) { }
101 0 0 $real =~ /^\-/ ? :
107 0 0 $real < 0 ? :
117 0 7 if ($imag == 0) { }
4 3 elsif ($imag != $imag) { }
0 3 elsif ($imag / $imag != $imag / $imag) { }
118 0 0 $imag =~ /^\-/ ? :
124 0 0 $imag < 0 ? :
148 9 65 unless (@_)
150 0 65 if (@_ > 3)
155 11 54 if (not ref $_[0] and $_[0] eq "Math::Complex_C::Q")
157 2 9 unless (@_)
160 0 63 if (@_ > 2)
164 52 11 if (@_ == 2) { }
169 0 11 if _itsa($_[0]) == 226