Branch Coverage

blib/lib/DiaColloDB/Upgrade/v0_12_sliceN.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
30 0 0 unless $up->backup
38 0 0 unless my $ug = 'DiaColloDB::Relation::Unigrams'->new('base', "$dbdir/xf", 'logCompat', 'off')
41 0 0 unless $ug->isa('DiaColloDB::Compat::v0_11::Relation::Unigrams')
66 0 0 unless $ug->saveHeader
72 0 0 unless my $cof = 'DiaColloDB::Relation::Cofreqs'->new('base', "$dbdir/cof", 'logCompat', 'off')
75 0 0 unless $cof->isa('DiaColloDB::Compat::v0_11::Relation::Cofreqs')
100 0 0 unless $cof->saveHeader
105 0 0 if ($hdr->{'index_tdf'} and -r "$dbdir/tdf.hdr")
107 0 0 unless my $vs = 'DiaColloDB::Relation::TDF'->new('base', "$dbdir/tdf", 'logCompat', 'off')
110 0 0 unless $vs->isa('DiaColloDB::Compat::v0_11::Relation::TDF')
123 0 0 unless $vs->saveHeader
143 0 0 unless $up->SUPER::backup
144 0 0 unless $up->{'backup'}
153 0 0 unless copyto_a([grep({-e $_;} map({$_, "$_.hdr";} $base, "$base.dbaN"))], $backd)
160 0 0 unless copyto_a([grep({-e $_;} map({$_, "$_.hdr";} $base))], "$backd/tdf.d")
181 0 0 if -e "$up->{'dbdir'}/$_"