Condition Coverage

blib/lib/NLP/GATE/AnnotationSet.pm
Criterion Covered Total %
condition 14 81 17.2


and 3 conditions

line !l l&&!r l&&r condition
143 2 1 0 $matchtype eq 'exact' and $ann->getFeature($k) ne $$features{$k}
1 1 1 $matchtype eq 'nocase' and lc $ann->getFeature($k) ne lc $$features{$k}
2 0 0 $matchtype eq 'regexp' and defined $ann->getFeature($k)
2 0 0 $matchtype eq 'regexp' and defined $ann->getFeature($k) and not $ann->getFeature($k) =~ /$$features{$k}/
159 1 1 4 $cond1 and $cond2
225 0 0 0 $featurematchtype eq 'exact' and $ann->getFeature($k) ne $$features{$k}
0 0 0 $featurematchtype eq 'nocase' and lc $ann->getFeature($k) ne lc $$features{$k}
0 0 0 $featurematchtype eq 'regexp' and $ann->getFeature($k) =~ /$$features{$k}/
240 0 0 0 $rangematchtype eq 'exact' and $ann->getFrom == $from
0 0 0 $rangematchtype eq 'cover' and $ann->getFrom <= $from
0 0 0 $rangematchtype eq 'within' and $ann->getFrom >= $from
250 0 0 0 $rangematchtype eq 'exact' and $ann->getTo == $to
0 0 0 $rangematchtype eq 'cover' and $ann->getTo >= $to
0 0 0 $rangematchtype eq 'within' and $ann->getTo <= $to
263 0 0 0 $rangematchtype eq 'overlap' & defined $from and defined $to
0 0 0 defined $from && defined $to
0 0 0 $rangematchtype eq 'overlap' and not defined $from && defined $to
264 0 0 0 $ann->getTo >= $from and $ann->getTo <= $to
0 0 0 $ann->getFrom >= $from and $ann->getFrom <= $to
273 0 0 0 $cond1 and $cond2
0 0 0 $cond1 and $cond2 and $cond3
0 0 0 $cond1 and $cond2 and $cond3 and $cond4

or 2 conditions

line l !l condition
121 2 4 lc(shift() || '') || 'exact'
200 0 0 shift() || 'exact'
202 0 0 shift() || 'exact'

or 3 conditions

line l !l&&r !l&&!r condition
58 0 8 0 ref $class || $class
92 0 0 3 $n < 0 or $n >= $s
264 0 0 0 $ann->getTo >= $from and $ann->getTo <= $to or $ann->getFrom >= $from and $ann->getFrom <= $to