Branch Coverage

blib/lib/Dpkg/Compression/Process.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
73 0 168 unless compression_is_supported($method)
88 0 154 unless compression_is_valid_level($level)
111 0 9 unless $self->{'compression_level'} =~ /^[1-9]$/
125 0 14 if $self->{'pid'}
129 14 42 if $opts{"to_$thing"}
130 14 42 if $opts{"from_$thing"}
132 0 14 if $to != 1
133 0 14 if $from != 1
157 0 7 if $opts{'to_string'}
180 0 3 if $opts{'to_string'}
196 10 119 if $self->{'pid'}