Branch Coverage

blib/lib/Treex/PML/Backend/TEIXML.pm
Criterion Covered Total %
branch 0 90 0.0


line true false branch
21 0 0 $rw eq 'w' ? :
29 0 0 if (ref $f) { }
46 0 0 if (ref $input) { }
77 0 0 unless ref $output
80 0 0 if ($src_doc->FS->exists('dep') and $src_doc->FS->isList('dep'))
86 0 0 if ($src_doc->metaData('xmldecl_version') ne '') { }
91 0 0 if ($src_doc->encoding ne '')
94 0 0 if ($src_doc->metaData('xmldecl_standalone') ne '')
99 0 0 if ($src_doc->metaData('xml_doctype'))
101 0 0 unless ($properties->{'Name'})
103 0 0 if $properties->{'SystemId'}
104 0 0 if $properties->{'PublicId'}
105 0 0 if $properties->{'Internal'}
115 0 0 if (ref $src_doc->metaData('fLib'))
117 0 0 if (exists $flib->{$attr})
126 0 0 if exists $valids{$_} and $valids{$_} ne ''
134 0 0 if ($src_doc->tree(0))
138 0 0 if /^p_(.*)$/ and $tree0->{$_} ne ''
147 0 0 if /^s_(.*)/ and $tree->{$_} ne ''
155 0 0 if exists $node->{$_} and defined $node->{$_}
163 0 0 $node->parent->parent ? :
203 0 0 if (exists $self->{'FSAttrSyms'}{$attr} and ref $self->{'FSAttrSyms'}{$attr})
226 0 0 unless $self->{'Node'}
227 0 0 if ($self->{'Node'}{'tei_type'} eq 'w' or $self->{'Node'}{'tei_type'} eq 'c')
230 0 0 if ($] >= 5.008) { }
246 0 0 if ($elem eq 'p') { }
0 0 elsif ($elem eq 'f') { }
0 0 elsif ($elem eq 'sym') { }
0 0 elsif ($elem eq 's') { }
0 0 elsif ($elem eq 'w' or $elem eq 'c') { }
261 0 0 if (ref $attr)
264 0 0 $] >= 5.008 ? :
268 0 0 if $node->{'id'} ne ''
270 0 0 if $node->{'AID'} ne ''
272 0 0 if ($target_doc->lastTreeNo == 0 and ref $self->{'DocAttributes'})
276 0 0 $] >= 5.008 ? :
285 0 0 if (ref $attr)
288 0 0 $] >= 5.008 ? :
292 0 0 if $node->{'id'} ne ''
294 0 0 if $node->{'AID'} ne ''
301 0 0 if ($self->{'Node'} and $self->{'Node'}{'tei_type'} eq 's')
306 0 0 if ($dep ne '' and ref $self->{'IDs'}{$dep})
312 0 0 if $self->{'Node'}
328 0 0 if ($self->{'Node'}{'tei_type'} eq 'w' or $self->{'Node'}{'tei_type'} eq 'c')
347 0 0 if ($self->{'Node'})