blib/lib/DataStore/CAS/FS/Dir.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 13 | 61.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
25 | 68 | 0 | 0 | 1 == @_ && ref $_[0] eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
28 | 63 | 5 | $p{'metadata'} ||= {} |
29 | 65 | 3 | delete $p{'entries'} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
51 | 0 | 2 | 0 | $$self{'_entry_name_map_caseless'} ||= do { my(%lookup, $ent, $iter); for ($iter = $self->iterator; defined($ent = &$iter());) { $lookup{uc $ent->name} = $ent; }; \%lookup } |
153 | 48 | 0 | $$self{'_entry_name_map'} ||= do { my(%lookup, $ent, $iter); for ($iter = $self->iterator; defined($ent = &$iter());) { $lookup{$ent->name} = $ent; }; \%lookup } |