blib/lib/Date/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 24 | 54.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
126 | 26 | 0 | 2 | ref $x and &reftype($x) eq 'ARRAY' |
174 | 37 | 18 | 0 | not $date and scalar @_ == 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
112 | 0 | 0 | 0 | ref $first || $first |
122 | 11 | 55 | 0 | ref $that || $that |
126 | 22 | 2 | 2 | $x =~ /^(\d\d\d\d)-(\d\d)-(\d\d)$/ or $x =~ /^(\d\d\d\d)(\d\d)(\d\d)$/ |
204 | 10 | 0 | 0 | $fmts{&refaddr($self) or ''} || $fmts{ref $self} || $Standard_Format |
220 | 43 | 0 | 0 | &refaddr($self) || $self |
229 | 40 | 3 | 0 | $fmts{$o} || $Standard_Format |