blib/lib/DateTime/Format/Excel.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 30 | 70.0 |
line | true | false | branch |
---|---|---|---|
91 | 1 | 11 | if @_ |
94 | 6 | 5 | if (ref $class) |
116 | 0 | 3 | unless ref $self |
143 | 0 | 35 | unless @_ |
144 | 0 | 35 | unless $_[0] =~ /^ (\d+ (?: (\.\d+ ) )? ) $/x |
148 | 5 | 30 | if (defined $excel_secs) { } |
181 | 0 | 35 | unless @_ |
202 | 0 | 8 | unless @_ |
203 | 0 | 8 | unless $_[0] =~ /^ (\d+ (?: \.\d+ )? ) $/x |
212 | 0 | 8 | unless @_ |
292 | 11 | 88 | if (@_) { } |
294 | 0 | 11 | unless ref $self |
295 | 0 | 11 | unless exists $epochs{$_[0]} |
302 | 42 | 46 | if ref $self |
304 | 70 | 18 | wantarray ? : |