Branch Coverage

blib/lib/Mo/utils/Time.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
17 2 4 if _check_key($self, $key)
19 1 3 unless ($self->{$key} =~ /^(\d{2})\:(\d{2})$/ms)
25 1 2 if ($hour > 23)
30 1 1 if ($min > 59)
42 2 5 if _check_key($self, $key)
44 1 4 unless ($self->{$key} =~ /^(\d{2})\:(\d{2})\:(\d{2})$/ms)
50 1 3 if ($hour > 23)
55 1 2 if ($min > 59)
60 1 1 if ($sec > 59)
72 4 9 unless (exists $self->{$key} and defined $self->{$key})