Condition Coverage

blib/lib/Markdown/Compiler/Parser.pm
Criterion Covered Total %
condition 14 56 25.0


and 3 conditions

line !l l&&!r l&&r condition
96 312 0 109 $token->{'children'} and @{$token->{'children'};} >= 1
101 0 0 0 $token->can('data') && $token->data
0 0 0 $token->can('href') && $token->href
0 0 0 $token->can('title') && $token->title
0 0 0 $token->can('size') && $token->size
0 0 0 $token->can('text') && $token->text
0 0 0 $token->can('language') && $token->language
0 0 0 $token->can('content') && $token->content
0 0 0 $token->can('children') && $token->children
122 0 0 0 $self->tree->[0] and $self->tree->[0]{'class'} eq "Markdown::Compiler::Parser::Node::Metadata"
246 1 1 5 exists $tokens->[0] and $tokens->[0]->type eq "LineBreak"
424 3 0 3 $todo_token->type eq "Char" and $todo_token->content eq "|"
452 3 0 3 $todo_token->type eq "Char" and $todo_token->content eq "|"
662 0 0 4 $lvl == 0 and $token->type eq "Item"
752 2 1 8 $lvl == 0 and $token->type eq "Item"
844 0 0 0 exists $tokens->[0] and $tokens->[0]->type eq "LineBreak"

or 2 conditions

line l !l condition
952 0 0 $index ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
690 0 0 0 $token->length < $lvl or $token->type eq "Item"
780 0 0 1 $token->length < $lvl or $token->type eq "Item"