Condition Coverage

blib/lib/Treex/PML.pm
Criterion Covered Total %
condition 21 74 28.3


and 3 conditions

line !l l&&!r l&&r condition
79 0 0 0 ref $node && $node->root
83 0 0 0 ref $node && $node->parent
88 0 0 0 ref $node && $node->lbrother
93 0 0 0 ref $node && $node->rbrother
98 0 0 0 ref $node && $node->firstson
103 0 0 0 ref $node && $node->set_parent($parent)
107 0 0 0 ref $node && $node->set_lbrother($brother)
111 0 0 0 ref $node && $node->set_rbrother($brother)
115 0 0 0 ref $node && $node->set_firstson($son)
120 0 0 0 ref $node && $node->following($top)
125 0 0 0 ref $node && $node->previous($top)
130 0 0 0 ref $node && $node->cut
181 0 63 82 ref $old->[$_] && defined $new->[$_]
235 46 34 8 ref $opts && $opts->{'all'}
259 8 2 0 defined $Treex::PML::resourcePath and length $Treex::PML::resourcePath
396 0 0 24 $b and UNIVERSAL::can($b, "test")
0 0 24 $b and UNIVERSAL::can($b, "test") and UNIVERSAL::can($b, "read")
409 0 0 11 $b and UNIVERSAL::can($b, "write")

or 2 conditions

line l !l condition
62 0 8 $ENV{'TREEX_PML_DEBUG'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
216 31 10 169 _is_url($path) || 'File::Spec'->file_name_is_absolute($path)
221 0 0 0 _is_absolute($filename) or _is_updir($filename)
237 36 0 52 _is_absolute($filename) or _is_updir($filename)
246 8 8 46 $all || ref $opts && $opts->{'strict'}
283 116 0 0 builtin::blessed($url) && $url->isa('URI') && ($url->scheme || 'file') eq 'file' || $url =~ m[^file:/]
343 18 0 0 eval { do { require $file } } or $INC{$file}