Branch Coverage

blib/lib/Crypt/OpenPGP/Compressed.pm
Criterion Covered Total %
branch 16 26 61.5


line true false branch
15 2 0 if ref $_[0]
16 0 0 unless $Crypt::OpenPGP::Compressed::ALG{$_[1]}
20 2 1 if ref $_[0]
21 1 0 unless $Crypt::OpenPGP::Compressed::ALG_BY_NAME{$_[1]}
32 3 1 if (my $data = $param{'Data'})
38 2 1 if ($comp->{'__alg_id'} == 1)
43 0 3 unless $status == Compress::Zlib::Z_OK()
48 0 3 unless $status == Compress::Zlib::Z_OK()
50 0 3 unless $status == Compress::Zlib::Z_OK()
53 0 3 unless defined $compressed
81 2 1 if ($comp->{'__alg_id'} == 1)
86 0 3 unless $status == Compress::Zlib::Z_OK()
89 0 3 unless defined $out