Condition Coverage

blib/lib/Treex/PML/Backend/TEIXML.pm
Criterion Covered Total %
condition 0 52 0.0


and 3 conditions

line !l l&&!r l&&r condition
32 0 0 0 $line1 =~ /^\s*<\?xml / && ($line2 =~ /^\s*]/ || $line2 =~ /^\s*/ || $line2 =~ /^
36 0 0 0 $fh && test($fh)
80 0 0 0 $src_doc->FS->exists('dep') and $src_doc->FS->isList('dep')
126 0 0 0 exists $valids{$_} and $valids{$_} ne ''
138 0 0 0 /^p_(.*)$/ and $tree0->{$_} ne ''
147 0 0 0 /^s_(.*)/ and $tree->{$_} ne ''
155 0 0 0 exists $node->{$_} and defined $node->{$_}
203 0 0 0 exists $self->{'FSAttrSyms'}{$attr} and ref $self->{'FSAttrSyms'}{$attr}
272 0 0 0 $target_doc->lastTreeNo == 0 and ref $self->{'DocAttributes'}
301 0 0 0 $self->{'Node'} and $self->{'Node'}{'tei_type'} eq 's'
306 0 0 0 $dep ne '' and ref $self->{'IDs'}{$dep}

or 2 conditions

line l !l condition
152 0 0 $node->{'tei_type'} || 'w'
219 0 0 $data->{'Encoding'} || 'iso-8859-2'

or 3 conditions

line l !l&&r !l&&!r condition
163 0 0 0 $node->parent->{'id'} || $node->parent->{'AID'}
195 0 0 0 $self->{'TargetDocument'} ||= 'Treex::PML::Factory'->createDocument
227 0 0 0 $self->{'Node'}{'tei_type'} eq 'w' or $self->{'Node'}{'tei_type'} eq 'c'
246 0 0 0 $elem eq 'w' or $elem eq 'c'
328 0 0 0 $self->{'Node'}{'tei_type'} eq 'w' or $self->{'Node'}{'tei_type'} eq 'c'