Condition Coverage

blib/lib/Markdown/Perl/InlineTree.pm
Criterion Covered Total %
condition 83 99 83.8


and 3 conditions

line !l l&&!r l&&r condition
74 255521 0 12445 builtin::blessed($content) and $content->isa("Markdown::Perl::InlineTree")
206 0 107028 586597 builtin::blessed($obj) && $obj->isa('Markdown::Perl::InlineNode')
211 0 0 66151 builtin::blessed($obj) && $obj->isa('Markdown::Perl::InlineTree')
332 250 81449 0 $text_end != 0 and $text_end > length $en->{'content'}
349 250 10938 70511 not $empty_last and @nodes
11188 70511 0 not $empty_last and @nodes and length $nodes[-1]{'content'} == 0
370 8 11723 66493 not $empty_last and $text_end < length $sn->{'content'}
574 35349 79069 4625 $i == $child_start and $text_start != 0
585 41427 46 329 $i == ($child_bound // -1) and $Markdown::Perl::InlineTree::LAST_MATCH_START[0] >= $text_bound
621 271 2 3739 $i == $child_start and $text_start != 0
633 4371 0 0 $i == ($child_bound // -1) and $Markdown::Perl::InlineTree::LAST_MATCH_START[0] >= $text_bound
634 3107 190 1074 $open == 0 and $done
780 1196 20 8 $n->{'type'} eq "literal" and $unescape_literal

or 2 conditions

line l !l condition
434 28235 95384 $start // 0
585 376 41426 $child_bound // -1
633 0 4371 $child_bound // -1

or 3 conditions

line l !l&&r !l&&!r condition
85 217498 3804 46664 $type eq "text" or $type eq "code"
221302 157 46507 $type eq "text" or $type eq "code" or $type eq "literal"
3961 24620 21887 $type eq "text" or $type eq "code" or $type eq "literal" or $type eq "html"
100 0 0 10237 keys %options > 1 or not exists $options{'tag'}
130 24615 10237 0 $this->{'type'} eq "html" or $this->{'type'} eq "style"
143 1394 814 0 $this->{'linktype'} eq "link" or $this->{'linktype'} eq "img"
308 81695 4 0 $sn->{'type'} eq "text" or $text_start == 0
329 250 81449 0 $text_end == 0 or $en->{'type'} eq "text"
359 242 2169 1064 $empty_last or $text_end == length $en->{'content'}
434 28235 39662 55722 $stop // $#{$$this{"children"};}
572 3909 63448 24920 $child_bound // $#{$$this{"children"};}
619 0 2521 1220 $child_bound // $#{$$this{"children"};}
634 1074 1966 1331 $open == 0 and $done or $open < 0
662 107550 21085 49863 $n->{'type'} eq "text" or $n->{'type'} eq "literal"
128635 24380 25483 $n->{'type'} eq "text" or $n->{'type'} eq "literal" or $n->{'type'} eq "html"
671 1383 9358 812 $n->{'linktype'} eq "link" or $n->{'linktype'} eq "autolink"
717 199 235 117 $n->{'type'} eq "literal" or $n->{'type'} eq "html"
780 20 701 495 $n->{'type'} eq "literal" or $n->{'type'} eq "html"