Branch Coverage

blib/lib/Archive/Builder/Generators.pm
Criterion Covered Total %
branch 11 32 34.3


line true false branch
24 0 7 unless my $File = _INSTANCE(shift(), 'Archive::Builder::File')
26 5 0 defined $string ? :
0 5 ref $string ? :
2 5 _SCALAR0 $string ? :
34 0 2 unless my $File = _INSTANCE(shift(), 'Archive::Builder::File')
35 2 0 -f $_[0] ? :
38 0 2 unless 'File::Flat'->slurp($filename)
46 0 2 unless my $File = _INSTANCE(shift(), 'Archive::Builder::File')
49 0 2 unless my $handle = _INSTANCE(shift(), 'IO::Handle')
60 2 0 defined $rv ? :
76 0 0 unless my $File = _INSTANCE(shift(), 'Archive::Builder::File')
79 0 0 unless ('Class::Autouse'->load('Template'))
84 0 0 unless my $Template = _INSTANCE(shift(), 'Template')
86 0 0 unless my $toparse = shift()
88 0 0 _HASH0($_[0]) || !defined($_[0]) ? :
95 0 0 $Template->process($toparse, $args, \$output) ? :