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 256540 0 12452 builtin::blessed($content) and $content->isa("Markdown::Perl::InlineTree")
206 0 107899 589444 builtin::blessed($obj) && $obj->isa('Markdown::Perl::InlineNode')
211 0 0 66720 builtin::blessed($obj) && $obj->isa('Markdown::Perl::InlineTree')
332 241 81491 0 $text_end != 0 and $text_end > length $en->{'content'}
349 241 10940 70551 not $empty_last and @nodes
11181 70551 0 not $empty_last and @nodes and length $nodes[-1]{'content'} == 0
370 4 11898 66483 not $empty_last and $text_end < length $sn->{'content'}
574 35587 79353 4597 $i == $child_start and $text_start != 0
585 41762 61 352 $i == ($child_bound // -1) and $Markdown::Perl::InlineTree::LAST_MATCH_START[0] >= $text_bound
621 226 2 3609 $i == $child_start and $text_start != 0
633 3921 0 0 $i == ($child_bound // -1) and $Markdown::Perl::InlineTree::LAST_MATCH_START[0] >= $text_bound
634 2728 189 1004 $open == 0 and $done
780 1097 20 8 $n->{'type'} eq "literal" and $unescape_literal

or 2 conditions

line l !l condition
434 28308 95979 $start // 0
585 414 41761 $child_bound // -1
633 0 3921 $child_bound // -1

or 3 conditions

line l !l&&r !l&&!r condition
85 218247 3639 47106 $type eq "text" or $type eq "code"
221886 157 46949 $type eq "text" or $type eq "code" or $type eq "literal"
3796 24691 22258 $type eq "text" or $type eq "code" or $type eq "literal" or $type eq "html"
100 0 0 10319 keys %options > 1 or not exists $options{'tag'}
130 24684 10319 0 $this->{'type'} eq "html" or $this->{'type'} eq "style"
143 1326 807 0 $this->{'linktype'} eq "link" or $this->{'linktype'} eq "img"
308 81730 2 0 $sn->{'type'} eq "text" or $text_start == 0
329 241 81491 0 $text_end == 0 or $en->{'type'} eq "text"
359 237 2121 989 $empty_last or $text_end == length $en->{'content'}
434 28308 40131 55848 $stop // $#{$$this{"children"};}
572 3796 63973 25019 $child_bound // $#{$$this{"children"};}
619 0 2403 1208 $child_bound // $#{$$this{"children"};}
634 1004 1924 993 $open == 0 and $done or $open < 0
662 107946 21196 50152 $n->{'type'} eq "text" or $n->{'type'} eq "literal"
129142 24472 25680 $n->{'type'} eq "text" or $n->{'type'} eq "literal" or $n->{'type'} eq "html"
671 1307 9754 794 $n->{'linktype'} eq "link" or $n->{'linktype'} eq "autolink"
717 233 212 107 $n->{'type'} eq "literal" or $n->{'type'} eq "html"
780 20 632 465 $n->{'type'} eq "literal" or $n->{'type'} eq "html"