lib/File/DataClass/Functions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 34 | 37 | 91.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
101 | 1 | 8 | 33 | not $opts->{'ignore_loaded'} and &is_class_loaded($class) |
148 | 24 | 272 | 441 | $_[0] && ref $_[0] eq 'ARRAY' |
152 | 24 | 622 | 1 | $_[0] && ref $_[0] eq 'CODE' |
156 | 2 | 595 | 428 | $_[0] && ref $_[0] eq 'HASH' |
181 | 28 | 10 | 48 | defined $data && defined $path_mtime && defined $cache_mtime |
195 | 13 | 0 | 1 | exists $dest->{$_} && defined $dest->{$_} |
line | l | !l | condition |
---|---|---|---|
99 | 1 | 41 | $opts //= {} |
121 | 1 | 5 | $_extension_map->{$extn} //= [] |
222 | 14 | 6 | ${$dest_ref;} //= {} |
19 | 1 | $src //= {} | |
17 | 3 | $filter //= sub { keys %{$_[0];}; } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
172 | 0 | 0 | 505 | &is_mswin() || $LC_OSNAME eq 'cygwin' |
183 | 38 | 1 | 47 | !$is_def || $path_mtime > $cache_mtime |
228 | 1 | 15 | 6 | $updated ||= $res |