Branch Coverage

blib/lib/Time/Simple/Range.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
40 0 4 unless defined $arg
42 3 1 if (ref $arg)
43 3 0 if $arg->isa('Time::Simple')
46 0 0 if $arg->isa('DateTime') or $arg->isa('Time::Piece')
50 0 0 if $arg->isa('Date::Calc::Object') and $arg->is_long and $arg->is_valid
63 17 2 unless defined $arg
66 0 2 unless $arg = $self->to_time_simple($arg)
76 18 2 unless defined $arg
79 0 2 unless $arg = $self->to_time_simple($arg)
90 0 3 unless defined $self->start and defined $self->end
101 0 1 unless defined $self->start and defined $self->end
118 1 0 if ($self) { }