Branch Coverage

blib/lib/File/KDBX/Cipher/Stream.pm
Criterion Covered Total %
branch 19 26 73.0


line true false branch
17 0 226 unless &Scalar::Util::blessed($_[0])
18 0 226 unless &Scalar::Util::blessed($_[0])
30 31 101 if (my $uuid = $args{'uuid'}) { }
101 0 elsif (my $id = $args{'stream_id'}) { }
31 30 1 if ($uuid eq "\326\cC\212+\213oL\265\245\$3\2321\333\265\232" and length $args{'iv'} == 16) { }
0 1 elsif ($uuid eq "qn\034\212\356\cWK\334\223\256\251w\270\202\203:") { }
42 0 101 ref $args{'key'} ? :
43 83 18 if ($id == 3) { }
18 0 elsif ($id == 2) { }
58 219 90 ref $_ ? :
85 91 135 if (defined(my $offset = $self->offset))
92 2 224 if $pos
95 0 226 if (my $err = $@)