Branch Coverage

blib/lib/Math/Financial.pm
Criterion Covered Total %
branch 0 108 0.0


line true false branch
120 0 0 ref $class ? :
121 0 0 if ($class) { }
140 0 0 unless scalar @args
143 0 0 if (isdigit($_))
146 0 0 if ($ATTRIBUTES[$j] =~ /$attrib/i)
150 0 0 if (not $#args) { }
153 0 0 wantarray ? :
173 0 0 if (defined $key)
197 0 0 if $args[0] =~ /field/io
200 0 0 if (ref $field eq 'ARRAY') { }
202 0 0 defined $key ? :
204 0 0 if ($#gets) { }
205 0 0 wantarray ? :
231 0 0 if scalar @args == 1
232 0 0 if (scalar @args > 2)
238 0 0 if (not defined $solve_for) { }
239 0 0 if (@numbers = $self->_verify_fields(4, 0, 2)) { }
0 0 elsif (@numbers = $self->_verify_fields(4, 1, 2)) { }
0 0 elsif (@numbers = $self->_verify_fields(4, 0, 1)) { }
0 0 elsif (@numbers = $self->_verify_fields(0, 1, 2)) { }
249 0 0 unless @numbers = $self->_verify_fields(@$set)
251 0 0 if ($solve_for == 1) { }
0 0 elsif ($solve_for == 0) { }
0 0 elsif ($solve_for == 2) { }
0 0 elsif ($solve_for == 4) { }
271 0 0 $@ ? :
292 0 0 if (scalar @args)
297 0 0 unless scalar @numbers
302 0 0 $@ ? :
321 0 0 if (scalar @args)
326 0 0 unless scalar @numbers
331 0 0 $@ ? :
346 0 0 if (scalar @args)
351 0 0 unless scalar @numbers
359 0 0 $@ ? :
378 0 0 if (scalar @args)
383 0 0 unless scalar @numbers
388 0 0 $@ ? :
403 0 0 if (scalar @args)
408 0 0 unless scalar @numbers
418 0 0 $@ ? :
443 0 0 if scalar @args == 1
444 0 0 if (scalar @args > 2)
450 0 0 if (not defined $solve_for) { }
451 0 0 if (@numbers = $self->_verify_fields(4, 0)) { }
0 0 elsif (@numbers = $self->_verify_fields(4, 3)) { }
0 0 elsif (@numbers = $self->_verify_fields(3, 0)) { }
459 0 0 unless @numbers = $self->_verify_fields(@$set)
462 0 0 if ($solve_for == 3) { }
0 0 elsif ($solve_for == 0) { }
0 0 elsif ($solve_for == 4) { }
469 0 0 $@ ? :
473 0 0 !(ref($_[0]) =~ /$re_object/o) ? :
480 0 0 scalar @defined == scalar @args ? :