Condition Coverage

blib/lib/DataStore/CAS/FS/DirCodec/Minimal.pm
Criterion Covered Total %
condition 6 10 60.0


and 2 conditions

line l !l condition
49 0 6 $metadata and scalar keys %$metadata

and 3 conditions

line !l l&&!r l&&r condition
74 0 2 0 ref($_[0])->can('TO_UTF8') && (($_[0] = $_[0]->TO_UTF8) || 1)

or 2 conditions

line l !l condition
139 0 12 $self->[3] ||= {'type', $self->type, 'name', $self->name, defined $self->[2] ? ('ref', $self->[2]) : ()}

or 3 conditions

line l !l&&r !l&&!r condition
74 6 17 2 &utf8::is_utf8 && (&utf8::encode || 1) || !($_[0] =~ /[\x80-\xFF]/)