blib/lib/Finance/Math/IRR.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 21 | 76.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
101 | 1 | 192 | 0 | defined $precision and looks_like_number $precision |
113 | 0 | 11576 | 0 | defined $date and defined $amount |
118 | 11550 | 4 | 19 | $amount == 0 and $date ne $date_end |
187 | 1027 | 0 | 2 | defined $poly->xneg && defined $poly->xpos |
2 | 1 | 1026 | not defined $poly->xneg && defined $poly->xpos and $i <= $MAX_POS_NEG_POINTS | |
194 | 1 | 2 | 0 | defined $poly->xneg and defined $poly->xpos |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
89 | 1 | 1 | 193 | not scalar @_ or scalar(@_) % 2 |