Branch Coverage

blib/lib/ConstantCalculus/CircleConstant.pm
Criterion Covered Total %
branch 4 56 7.1


line true false branch
82 0 0 if $e % bless( {"sign" => "+","value" => bless( [2], 'Math::BigInt::Calc' )}, 'Math::BigInt' )
112 0 0 $y0 == $y ? :
135 0 0 $n == {sign => '+', value => [0]} ? :
162 0 0 defined $_[0] ? :
163 0 0 defined $_[1] ? :
167 0 0 if ($places <= {sign => '+', value => ['1']}) { }
0 0 elsif ($places <= $new_places) { }
183 0 0 defined $_[0] ? :
187 0 0 $arg =~ /$re/ ? :
197 0 0 defined $_[0] ? :
201 0 0 if (is_unsigned_int($places) != bless( {"sign" => "+","value" => bless( [1], 'Math::BigInt::Calc' )}, 'Math::BigInt' ))
249 0 0 $r0 == $r ? :
350 0 0 defined $places ? :
351 0 0 defined $n ? :
352 0 0 defined $p ? :
353 0 0 defined $trim ? :
354 0 0 defined $type ? :
387 0 0 if ($type eq $type0) { }
0 0 elsif ($type eq $type1) { }
416 0 0 defined $places ? :
417 0 0 defined $n ? :
418 0 0 defined $p ? :
419 0 0 defined $trim ? :
420 0 0 defined $type ? :
453 0 0 if ($type eq $type0) { }
0 0 elsif ($type eq $type1) { }
537 46 1012 if (/$pattern0/ .. /$pattern1/)
538 4 42 if /$pattern0/ or /$pattern1/