Condition Coverage

blib/lib/DiaColloDB/Corpus/Compiled.pm
Criterion Covered Total %
condition 0 146 0.0


and 3 conditions

line !l l&&!r l&&r condition
173 0 0 0 fcwrite($flags) and fctrunc($flags)
178 0 0 0 fcwrite($flags) and fccreat($flags)
185 0 0 0 fcread($flags) and not fctrunc($flags)
203 0 0 0 $corpus->opened && fcwrite($corpus->{'flags'})
204 0 0 0 $rc &&= $corpus->SUPER::close
219 0 0 0 $corpus->{'dbdir'} && $corpus->{'opened'}
226 0 0 0 $corpus->opened and fcwrite($corpus->{'flags'})
237 0 0 0 $corpus->close && $corpus->open([$dbdir], @_)
357 0 0 0 $logFileN and $filei % $logFileN == 0
372 0 0 0 defined $pgood and not $p =~ /$pgood/
0 0 0 $pgoodh and not exists $pgoodh->{$p}
0 0 0 defined $pbad and $p =~ /$pbad/
0 0 0 $pbadh and exists $pbadh->{$p}
0 0 0 defined $wgood and not $w =~ /$wgood/
0 0 0 $wgoodh and not exists $wgoodh->{$w}
0 0 0 defined $wbad and $w =~ /$wbad/
0 0 0 $wbadh and exists $wbadh->{$w}
0 0 0 defined $lgood and not $l =~ /$lgood/
0 0 0 $lgoodh and not exists $lgoodh->{$l}
0 0 0 defined $lbad and $l =~ /$lbad/
0 0 0 $lbadh and exists $lbadh->{$l}
375 0 0 0 @$ftokens and defined $$ftokens[$#$ftokens]

or 2 conditions

line l !l condition
246 0 0 $_[0]{'size'} // 0
252 0 0 $_[0]{'size'} // 0
271 0 0 $corpus->{'dopts'} // {}
315 0 0 $ocorpus->{'logFileN'} || int $nfiles / 20 || 1

or 3 conditions

line l !l&&r !l&&!r condition
104 0 0 0 not exists $opts{'close'} or $opts{'close'}
115 0 0 0 $_[1] // $_[0]{'dbdir'}
181 0 0 0 -d $datadir or make_path($datadir)
259 0 0 0 $_[1] // $_[0]{'cur'}
269 0 0 0 $pos //= $corpus->{'cur'}
291 0 0 0 fcflags($ocorpus->{'flags'}) | fcflags($opts{'flags'}) || fcflags('w')
295 0 0 0 not $ocorpus->opened or $ocorpus->{'dbdir'} ne $odir
326 0 0 0 shift() || 'DiaColloDB::threads'->tid
372 0 0 0 defined $pgood and not $p =~ /$pgood/ or $pgoodh and not exists $pgoodh->{$p}
0 0 0 defined $pgood and not $p =~ /$pgood/ or $pgoodh and not exists $pgoodh->{$p} or defined $pbad and $p =~ /$pbad/
0 0 0 defined $pgood and not $p =~ /$pgood/ or $pgoodh and not exists $pgoodh->{$p} or defined $pbad and $p =~ /$pbad/ or $pbadh and exists $pbadh->{$p}
0 0 0 defined $pgood and not $p =~ /$pgood/ or $pgoodh and not exists $pgoodh->{$p} or defined $pbad and $p =~ /$pbad/ or $pbadh and exists $pbadh->{$p} or defined $wgood and not $w =~ /$wgood/
0 0 0 defined $pgood and not $p =~ /$pgood/ or $pgoodh and not exists $pgoodh->{$p} or defined $pbad and $p =~ /$pbad/ or $pbadh and exists $pbadh->{$p} or defined $wgood and not $w =~ /$wgood/ or $wgoodh and not exists $wgoodh->{$w}
0 0 0 defined $pgood and not $p =~ /$pgood/ or $pgoodh and not exists $pgoodh->{$p} or defined $pbad and $p =~ /$pbad/ or $pbadh and exists $pbadh->{$p} or defined $wgood and not $w =~ /$wgood/ or $wgoodh and not exists $wgoodh->{$w} or defined $wbad and $w =~ /$wbad/
0 0 0 defined $pgood and not $p =~ /$pgood/ or $pgoodh and not exists $pgoodh->{$p} or defined $pbad and $p =~ /$pbad/ or $pbadh and exists $pbadh->{$p} or defined $wgood and not $w =~ /$wgood/ or $wgoodh and not exists $wgoodh->{$w} or defined $wbad and $w =~ /$wbad/ or $wbadh and exists $wbadh->{$w}
0 0 0 defined $pgood and not $p =~ /$pgood/ or $pgoodh and not exists $pgoodh->{$p} or defined $pbad and $p =~ /$pbad/ or $pbadh and exists $pbadh->{$p} or defined $wgood and not $w =~ /$wgood/ or $wgoodh and not exists $wgoodh->{$w} or defined $wbad and $w =~ /$wbad/ or $wbadh and exists $wbadh->{$w} or defined $lgood and not $l =~ /$lgood/
0 0 0 defined $pgood and not $p =~ /$pgood/ or $pgoodh and not exists $pgoodh->{$p} or defined $pbad and $p =~ /$pbad/ or $pbadh and exists $pbadh->{$p} or defined $wgood and not $w =~ /$wgood/ or $wgoodh and not exists $wgoodh->{$w} or defined $wbad and $w =~ /$wbad/ or $wbadh and exists $wbadh->{$w} or defined $lgood and not $l =~ /$lgood/ or $lgoodh and not exists $lgoodh->{$l}
0 0 0 defined $pgood and not $p =~ /$pgood/ or $pgoodh and not exists $pgoodh->{$p} or defined $pbad and $p =~ /$pbad/ or $pbadh and exists $pbadh->{$p} or defined $wgood and not $w =~ /$wgood/ or $wgoodh and not exists $wgoodh->{$w} or defined $wbad and $w =~ /$wbad/ or $wbadh and exists $wbadh->{$w} or defined $lgood and not $l =~ /$lgood/ or $lgoodh and not exists $lgoodh->{$l} or defined $lbad and $l =~ /$lbad/
0 0 0 defined $pgood and not $p =~ /$pgood/ or $pgoodh and not exists $pgoodh->{$p} or defined $pbad and $p =~ /$pbad/ or $pbadh and exists $pbadh->{$p} or defined $wgood and not $w =~ /$wgood/ or $wgoodh and not exists $wgoodh->{$w} or defined $wbad and $w =~ /$wbad/ or $wbadh and exists $wbadh->{$w} or defined $lgood and not $l =~ /$lgood/ or $lgoodh and not exists $lgoodh->{$l} or defined $lbad and $l =~ /$lbad/ or $lbadh and exists $lbadh->{$l}
375 0 0 0 defined $tok or @$ftokens and defined $$ftokens[$#$ftokens]
396 0 0 0 $njobs == 0 or not $HAVE_THREADS
439 0 0 0 fcflags($ocorpus->{'flags'}) | fcflags($opts{'flags'}) || fcflags('w')
443 0 0 0 not $ocorpus->opened or $ocorpus->{'dbdir'} ne $odir
466 0 0 0 link $infile, $outfile or symlink $infile, $outfile