Branch Coverage

blib/lib/DataStore/CAS/FS/DirCodec/Universal.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
31 30 0 if $metadata
34 44 18 ref $_ eq 'HASH' ? :
37 1 61 unless defined $$entry{'name'}
38 1 60 unless defined $$entry{'type'}
41 2 215 ref $_ ? :
56 23 2 if @entries
63 1 49 unless defined $$params{'format'}
70 1 49 if (defined $bytes) { }
74 0 49 unless defined $handle
75 0 49 unless seek $handle, $header_len, 0
83 0 50 unless defined $$data{'metadata'} and ref $$data{'metadata'} eq 'HASH'
85 0 50 unless defined $$data{'entries'} and ref $$data{'entries'} eq 'ARRAY'