Branch Coverage

blib/lib/Lingua/YaTeA/ForbiddenStructureStartOrEnd.pm
Criterion Covered Total %
branch 16 22 72.7


line true false branch
29 12 16 if ($this->isStart)
33 16 0 if ($this->isEnd)
62 28 12 if ($rank == 0)
83 58 20 if ($this->getPosition eq 'START')
93 20 0 if ($this->getPosition eq 'END')
120 46 4 if ($this->isStart)
125 0 92 if (&blessed($words_a->[$i]) and $words_a->[$i]->isa('Lingua::YaTeA::TestifiedTermMark')) { }
132 46 46 if (&blessed($words_a->[$i]) and $words_a->[$i]->isa('Lingua::YaTeA::ForbiddenStructureStartOrEnd') or &blessed($words_a->[$i]) and $words_a->[$i]->isa('Lingua::YaTeA::WordFromCorpus') and $this->getItem($j)->matchesWord($words_a->[$i])) { }
154 4 0 if ($this->isEnd)
161 0 4 if (&blessed($words_a->[$i]) and $words_a->[$i]->isa('Lingua::YaTeA::TestifiedTermMark')) { }
168 4 0 if (&blessed($words_a->[$i]) and $words_a->[$i]->isa('Lingua::YaTeA::ForbiddenStructureStartOrEnd') or &blessed($words_a->[$i]) and $words_a->[$i]->isa('Lingua::YaTeA::WordFromCorpus') and $this->getItem($j)->matchesWord($words_a->[$i])) { }