Branch Coverage

blib/lib/Metabrik/Time/Universal.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
69 0 0 unless $self->brik_help_run_undef_arg("search_timezone", $pattern)
75 0 0 if ($this =~ /$pattern/i)
88 0 0 unless $self->brik_help_run_undef_arg("localtime", $timezone)
91 0 0 if (ref $timezone eq 'ARRAY') { }
93 0 0 unless ($self->is_timezone($tz))
104 0 0 unless ($self->is_timezone($timezone))
184 0 0 unless my $day = $self->day($timestamp)
217 0 0 unless $self->brik_help_run_undef_arg("timestamp_to_tz_time", $timestamp)
219 0 0 if ($self->use_hires)
235 0 0 unless $self->brik_help_run_undef_arg("timestamp_to_tz_gmtime", $timestamp)
237 0 0 if ($self->use_hires)
271 0 0 if ($m == 0)
283 0 0 unless $self->brik_help_run_undef_arg("is_timezone", $tz)
288 0 0 exists $h{$tz} ? :
294 0 0 if ($self->use_hires)
305 0 0 unless $self->brik_help_run_undef_arg("to_timestamp", $string)
324 0 0 if ($string =~ /^(\d{4})-(\d{2})-(\d{2})$/) { }
0 0 elsif ($string =~ /^(\d{4})(\d{2})(\d{2})$/) { }
0 0 elsif ($string =~ /^\S+\s+(\S+)\s+(\d+)\s+(\d+):(\d+):(\d+)\s+(\d+)$/) { }
0 0 elsif ($string =~ /^(\S+)\s+(\d+)\s+(\d+):(\d+):(\d+)$/) { }
0 0 elsif ($string =~ /^(\d{4})\-(\d{2})\-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})Z$/) { }
0 0 elsif ($string =~ /^(\d{4})\-(\d{2})\-(\d{2})T(\d{2}):(\d{2})Z$/) { }
0 0 elsif ($string =~ /^(\d{4})\-(\d{2})\-(\d{2}) (\d{2}):(\d{2}):(\d{2})\.(\d{6})$/) { }
0 0 elsif ($string =~ /^(\d{4})\-(\d{2})\-(\d{2}) (\d{2}):(\d{2})$/) { }
0 0 elsif ($string =~ /^(\d{4})\-(\d{2})\-(\d{2}) (\d{2}):(\d{2}):(\d{2})$/) { }
0 0 elsif ($string =~ m[^(\d{2})/(\d{2})/(\d{2}) (\d{2}):(\d{2}):(\d{2})$]) { }
0 0 elsif ($string =~ /^(\d{4})\-(\d{2})\-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})/) { }
326 0 0 if ($self->use_hires)
334 0 0 if ($self->use_hires)
349 0 0 if ($self->use_hires)
364 0 0 if ($self->use_hires)
378 0 0 if ($self->use_hires)
392 0 0 if ($self->use_hires)
406 0 0 if ($self->use_hires)
449 0 0 if ($self->use_hires)