Branch Coverage

blib/lib/File/KDBX/Key.pm
Criterion Covered Total %
branch 20 34 58.8


line true false branch
24 180 13 @_ % 2 == 1 ? :
27 193 0 unless $args{'keep_primitive'}
28 36 157 if &blessed($primitive) and $primitive->isa($class)
31 144 13 if defined $primitive
37 157 0 if (not &in_global_destruction())
47 1 84 if (XXX) { }
19 65 elsif (XXX or &openhandle($primitive)) { }
18 47 elsif (XXX) { }
47 0 elsif (not XXX) { }
0 0 elsif (XXX and defined $primitive->{'composite'}) { }
0 0 elsif (XXX and defined $primitive->{'password'}) { }
0 0 elsif (XXX and defined $primitive->{'file'}) { }
0 0 elsif (XXX and defined $primitive->{'responder'}) { }
90 9 86 unless $self->is_hidden
104 81 157 if $safe
111 0 256 if defined $self->{'raw_key'}
119 0 0 if $safe