Branch Coverage

blib/lib/DiaColloDB/Document/DDCTabs.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
76 0 0 unless ref $doc
78 0 0 ref $file ? :
79 0 0 ref $file ? :
80 0 0 unless ref $fh
81 0 0 if $doc->{'utf8'}
90 0 0 if $eosre and not ref $eosre
97 0 0 if (/^%%/) { }
0 0 elsif ($eosre and $_ =~ /$eosre/) { }
98 0 0 if (/^%%(?:\$DDC:meta\.date_|\$?date)=([0-9]+)/)
101 0 0 if (/^%%\$DDC:meta\.([^=]+)=(.*)$/) { }
0 0 elsif (/^%%\$DDC:index\[([0-9]+)\]=Token\b/ or /^%%\$DDC:index\[([0-9]+)\]=\S+ w$/) { }
0 0 elsif (/^%%\$DDC:index\[([0-9]+)\]=Pos\b/ or /^%%\$DDC:index\[([0-9]+)\]=\S+ p$/) { }
0 0 elsif (/^%%\$DDC:index\[([0-9]+)\]=Lemma\b/ or /^%%\$DDC:index\[([0-9]+)\]=\S+ l$/) { }
0 0 elsif (/^%%\$DDC:index\[([0-9]+)\]=Pos\b/ or /^%%\$DDC:index\[([0-9]+)\]=\S+ page$/) { }
0 0 elsif (/^%%\$DDC:BREAK.([^=\[\]]+)/) { }
0 0 elsif (/^%%\$DDC:PAGE=/) { }
122 0 0 if ($eosre and $_ =~ /$eosre/)
123 0 0 unless $last_was_eos
129 0 0 unless $last_was_eos
136 0 0 if ($pagef > 0 and $page ne $curpage)
145 0 0 unless $last_was_eos
147 0 0 unless ($doc->{'foreign'})
151 0 0 if $doc->{'trimGenre'} and defined $meta->{'genre'}
155 0 0 if ($doc->{'trimPND'} and defined $meta->{'pnd'})
157 0 0 if ($meta->{'pnd'} // '') eq ''
162 0 0 if $doc->{'trimAuthor'} and defined $meta->{'author'}
165 0 0 unless ref $file