Branch Coverage

blib/lib/Test/Archive/Libarchive.pm
Criterion Covered Total %
branch 20 32 62.5


line true false branch
34 10 15 if (@$arguments)
40 20 10 unless $first
44 30 0 if ($ref eq '') { }
0 0 elsif ($ref eq 'HASH') { }
0 0 elsif ($ref eq 'ARRAY') { }
0 0 elsif ($ref eq 'CODE') { }
46 0 30 if (length $arg > 34) { }
78 10 15 if (@$arguments) { }
90 15 10 unless ($ret)
92 15 0 if (defined $archive) { }
94 0 15 if ($archive->can('errno'))
98 0 15 if ($archive->can('error_string'))
136 2 4 unless (XXX and $r->isa('Archive::Libarchive::ArchiveRead'))
142 0 4 unless ($r->can('read_data'))
155 4 4 if ($size > 0) { }
2 2 elsif ($size == 0) { }