lib/Text/Xatena/Node/Section.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 18 | 88.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
27 | 32 | 12 | 23 | ref $$stack[-1] eq $class and $$stack[-1]->level >= $level |
14 | 27 | 3 | $level == 1 and ref $$stack[-1] eq 'Text::Xatena::Node::SeeMore' | |
41 | 2 | 1 | $level == 1 and ref $$stack[-1] eq 'Text::Xatena::Node::SeeMore' and not $$stack[-1]{'is_super'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
19 | 14 | 29 | 0 | $s->matched->[1] || $s->matched->[3] |
20 | 14 | 28 | 1 | $s->matched->[2] || $s->matched->[4] |
27 | 23 | 0 | 44 | ref $$stack[-1] eq $class and $$stack[-1]->level >= $level or $level == 1 and ref $$stack[-1] eq 'Text::Xatena::Node::SeeMore' and not $$stack[-1]{'is_super'} |