blib/lib/Date/Range.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
67 | 4 | 18 | unless @dates == 2 |
105 | 0 | 3 | unless UNIVERSAL::isa($check, 'Date::Range') |
121 | 21 | 74 | if (UNIVERSAL::isa($check, 'Date::Range')) { } |
74 | 0 | elsif ($check->isa($self->want_class)) { } | |
143 | 0 | 26 | unless UNIVERSAL::isa($check, 'Date::Range') |
150 | 0 | 2 | unless UNIVERSAL::isa($check, 'Date::Range') |
151 | 0 | 2 | unless $self->overlaps($check) |
167 | 0 | 11 | if $self->overlaps($range) |
171 | 7 | 4 | if $start >= $end |