blib/lib/WebDAO/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 14 | 50.0 |
line | true | false | branch |
---|---|---|---|
33 | 0 | 0 | unless (exists $main->{$module}) |
35 | 0 | 0 | if ($@) |
62 | 1 | 1 | unless $str |
112 | 0 | 1 | if ($need_preload) |
159 | 0 | 2 | if (not $time or lc $time eq 'now') { } |
1 | 1 | elsif ($time =~ /^\d+/) { } | |
1 | 0 | elsif ($time =~ /^([+-]?(?:\d+|\d*\.\d*))([smhdMy])/) { } |