Branch Coverage

blib/lib/WARC/Index.pm
Criterion Covered Total %
branch 21 22 95.4


line true false branch
119 1 6 if ref $class
121 1 5 unless scalar @_
127 3 8 if ($key eq 'from') { }
128 1 2 if (UNIVERSAL::isa($_[0], 'ARRAY')) { }
133 1 4 if defined $from and scalar @$from == 0
139 1 3 unless (exists do { $class . '::' }->{'Builder::'})
140 1 0 if $@
145 1 2 unless defined $from
203 1 12 unless $caller->isa('WARC::Index')
207 2 10 unless $opt{'filename'}
228 2 18 unless @match