Branch Coverage

blib/lib/DiaColloDB/Corpus.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
58 0 0 unless ref $corpus
62 0 0 if ($opts{'compiled'} or not exists $opts{'compiled'} and UNIVERSAL::isa($sources, 'ARRAY') and @$sources == 1 and not $opts{'list'} and -e "$sources->[0]/header.json")
74 0 0 $corpus->{'glob'} ? :
75 0 0 if ($corpus->{'list'})
80 0 0 unless CORE::open my $fh, "<$listfile"
91 0 0 unless UNIVERSAL::isa($corpus->{'dclass'}, 'DiaColloDB::Document')
100 0 0 if ref $_[0] and UNIVERSAL::isa($_[0]{'dclass'}, 'DiaColloDB::Document')
107 0 0 unless (UNIVERSAL::isa($tryclass, 'DiaColloDB::Document'))
111 0 0 if (UNIVERSAL::isa($tryclass, 'DiaColloDB::Document'))
116 0 0 unless UNIVERSAL::isa($dclass, 'DiaColloDB::Document')
163 0 0 if $pos > $#{$$corpus{'files'};}