Branch Coverage

blib/lib/Dpkg/Interface/Storable.pm
Criterion Covered Total %
branch 14 26 53.8


line true false branch
81 0 111 unless ($self->can('parse'))
85 0 111 if ($file eq '-') { }
89 97 14 if ($opts{'compression'})
93 0 111 unless open $fh, '<', $file
96 104 0 if ($file ne '-')
97 0 104 unless close $fh
115 0 6 unless ($self->can('output'))
119 0 6 if ($file eq '-') { }
122 6 0 if ($opts{'compression'})
126 0 6 unless open $fh, '>', $file
129 6 0 if ($file ne '-')
130 0 6 unless close $fh
142 0 57 unless ($self->can('output'))