blib/lib/Finance/Instrument.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 16 | 75.0 |
line | true | false | branch |
---|---|---|---|
65 | 5 | 9 | if $_ gt $date |
68 | 7 | 0 | if ($$self{'override_dow'}) |
72 | 7 | 0 | unless $$spec{'override_dow'}{$dt->day_of_week} |
81 | 1 | 4 | if ($$session[-1][1] > 1440 and $_dt <= $dt->clone->add('minutes', $$session[-1][1] - 1440)) |
83 | 0 | 1 | if ($_dt <= $dt->clone->add('minutes', $$session[-1][1] - 1440)) |
91 | 4 | 4 | if ($_dt <= $end) |
97 | 1 | 4 | if ($idx >= @{$session;}) |
107 | 0 | 7 | unless $self->get_spec_for_date($dt->ymd)->{'session'} |