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
78 0 0 0 ref $node && $node->root
82 0 0 0 ref $node && $node->parent
87 0 0 0 ref $node && $node->lbrother
92 0 0 0 ref $node && $node->rbrother
97 0 0 0 ref $node && $node->firstson
102 0 0 0 ref $node && $node->set_parent($parent)
106 0 0 0 ref $node && $node->set_lbrother($brother)
110 0 0 0 ref $node && $node->set_rbrother($brother)
114 0 0 0 ref $node && $node->set_firstson($son)
119 0 0 0 ref $node && $node->following($top)
124 0 0 0 ref $node && $node->previous($top)
129 0 0 0 ref $node && $node->cut
180 0 63 82 ref $old->[$_] && defined $new->[$_]
234 42 28 6 ref $opts && $opts->{'all'}
258 6 1 0 defined $Treex::PML::resourcePath and length $Treex::PML::resourcePath
395 0 0 24 $b and UNIVERSAL::can($b, 'test')
0 0 24 $b and UNIVERSAL::can($b, 'test') and UNIVERSAL::can($b, 'read')
408 0 0 11 $b and UNIVERSAL::can($b, 'write')

or 2 conditions

line l !l condition
61 0 6 $ENV{'TREEX_PML_DEBUG'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
215 22 15 155 _is_url($path) || 'File::Spec'->file_name_is_absolute($path)
220 0 0 0 _is_absolute($filename) or _is_updir($filename)
236 33 0 43 _is_absolute($filename) or _is_updir($filename)
245 6 6 42 $all || ref $opts && $opts->{'strict'}
282 112 0 0 &blessed($url) && $url->isa('URI') && ($url->scheme || 'file') eq 'file' || $url =~ m[^file:/]
342 14 0 0 eval { do { require $file } } or $INC{$file}