Condition Coverage

blib/lib/Lingua/YaTeA/IndexSet.pm
Criterion Covered Total %
condition 48 102 47.0


and 3 conditions

line !l l&&!r l&&r condition
85 2440 0 277 &blessed($sub_index) and $sub_index->isa('Lingua::YaTeA::IndexSet')
118 25 2 12 $this->getFirst < $other_index->getFirst and $this->getLast > $other_index->getLast
162 0 0 0 $this->getFirst < $index_set->getFirst and $this->getLast > $index_set->getLast
0 0 0 $this->getFirst < $index_set->getFirst and $this->getLast > $index_set->getLast and not $this->moreThanOneInCommon($index_set)
194 0 0 0 $this->getFirst >= $other_index->getFirst and $this->getLast <= $other_index->getLast
0 0 0 $this->getFirst >= $other_index->getFirst and $this->getLast <= $other_index->getLast and not $this->moreThanOneInCommon($other_index)
291 0 9 36 $i < $this->getSize and $j < $other_index->getSize
316 0 19 4 $i < $this->getSize and $this->getIndex($i) < $other_index->getIndex($j)
335 10 9 19 $j < $other_index->getSize and $other_index->getIndex($j) < $this->getIndex($i)
372 7953 492 2225 $previous == -1 and $$words_a[$j - 1]->isCleaningFrontier($chunking_data)
394 27 282 1815 $sub_index->getSize < $this->getSize and $$words_a[$sub_index->getLast]->isCleaningFrontier($chunking_data)
309 1538 277 $sub_index->getSize < $this->getSize and $$words_a[$sub_index->getLast]->isCleaningFrontier($chunking_data) and $sub_index->testSyntacticBreakAndRepetition($words_a, $tag_set)
688 310 0 0 $index_partial < $index and $tree->getIndexSet->indexExists($index_partial)
310 0 0 $index_partial < $index and $tree->getIndexSet->indexExists($index_partial) and $$j_s < scalar @{$partial_index_set->getIndexes;} - 1
706 60 4 144 !defined($pivot) || $index != $pivot and not $tree->getIndexSet->indexExists($index)
724 0 0 208 ref $head ne 'SCALAR' and defined $head
843 6 0 24 $this->getFirst <= $other_index->getFirst and $this->getLast >= $other_index->getLast
1034 0 0 0 $this->getFirst < $to_append->getFirst and $this->getLast > $to_append->getFirst
0 0 0 $this->getFirst < $to_append->getFirst and $this->getLast > $to_append->getFirst and $this->getLast < $to_append->getLast
0 0 0 $this->getFirst > $to_append->getFirst and $this->getFirst < $to_append->getLast
0 0 0 $this->getFirst > $to_append->getFirst and $this->getFirst < $to_append->getLast and $this->getLast > $to_append->getLast

or 3 conditions

line l !l&&r !l&&!r condition
101 1 20 39 $this->getLast <= $other_index->getFirst or $this->getFirst >= $other_index->getLast
141 0 0 0 $this->getLast < $other_index->getFirst or $this->getFirst > $other_index->getLast
203 0 0 0 not defined $pivot or $this->checkInclusion($other_index, $pivot)
223 0 0 0 $previous == -1 or $previous < $this->getFirst
229 0 0 0 $next == -1 or $next > $this->getLast
306 1 0 26 $i >= $this->getSize or $j >= $other_index->getSize
325 0 0 19 $i >= $this->getSize or $j >= $other_index->getSize
345 0 10 9 $i >= $this->getSize or $j >= $other_index->getSize
372 2225 7953 492 $previous == -1 and $$words_a[$j - 1]->isCleaningFrontier($chunking_data) or $previous != -1
706 6 142 60 !defined($pivot) || $index != $pivot
935 3 0 49 $this->getLast < $to_append->getFirst or $this->getFirst > $to_append->getLast
948 7 18 24 $this->getLast == $to_append->getFirst or $this->getFirst == $to_append->getLast
1034 0 0 0 $this->getFirst < $to_append->getFirst and $this->getLast > $to_append->getFirst and $this->getLast < $to_append->getLast or $this->getFirst > $to_append->getFirst and $this->getFirst < $to_append->getLast and $this->getLast > $to_append->getLast