Condition Coverage

blib/lib/Bible/OBML/Gateway.pm
Criterion Covered Total %
condition 21 62 33.8


and 3 conditions

line !l l&&!r l&&r condition
88 0 0 1 $ref_display and $ref_display->text
224 0 8 8 $previous and $previous->tag
8 8 0 $previous and $previous->tag and $previous->tag eq 'crossref' || $previous->tag eq 'footnote'
231 0 8 8 $next and $next->tag
8 8 0 $next and $next->tag and $next->tag eq 'crossref' || $next->tag eq 'footnote'
237 0 0 8 length $previous_char and length $next_char
0 0 8 length $previous_char and length $next_char and $previous_char =~ /[:;,\w\!\.\?]/u
0 8 0 length $previous_char and length $next_char and $previous_char =~ /[:;,\w\!\.\?]/u and $next_char =~ /\w/u
300 0 0 0 $_->next and $_->next->tag eq "li"
341 0 1 0 $block->at("p") and not $block->at("p")->at("verse_number")
346 0 1 0 $_ = $block->find("i > i") and $_->size

or 2 conditions

line l !l condition
31 1 1 $_->attr('class') || ''
76 0 0 $reference // "(undef)"
132 0 0 $_->attr("data-bibleref") // ""
148 0 0 $_->attr("data-bibleref") // ""
167 0 0 $_->attr("data-bibleref") // ""
185 0 0 $_->attr("data-bibleref") // ""
318 0 0 $_->attr('indent') || 0

or 3 conditions

line l !l&&r !l&&!r condition
67 0 0 1 @$runs != 1 or not $runs->[0] =~ /\w\s*\d/u
224 8 0 0 $previous->tag eq 'crossref' || $previous->tag eq 'footnote'
228 0 8 0 $previous->all_text || $previous->content
231 8 0 0 $next->tag eq 'crossref' || $next->tag eq 'footnote'
235 0 8 0 $next->all_text || $next->content