blib/lib/Astro/App/Satpass2/FormatTime.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 22 | 68.1 |
line | true | false | branch |
---|---|---|---|
30 | 0 | 34 | if ref $class |
32 | 32 | 2 | if "Astro::App::Satpass2::FormatTime" eq $class |
80 | 356 | 0 | unless defined $gmt |
82 | 356 | 0 | $gmt ? : |
87 | 341 | 15 | if exists $cache{$class}{$tplt}[$gmt] |
111 | 270 | 60 | if defined $wid and $size <= $wid |
130 | 298 | 739 | if (@arg) { } |
132 | 0 | 298 | if (defined $val and $val =~ / [^0-9] /msx) |
133 | 0 | 0 | unless exists $valid{$val} |
147 | 330 | 288 | if ref $time |
149 | 288 | 0 | if (my $round = $self->round_time) |