Condition Coverage

blib/lib/Perl/ToPerl6/Utils/PPI.pm
Criterion Covered Total %
condition 0 69 0.0


and 3 conditions

line !l l&&!r l&&r condition
206 0 0 0 $match->{'content'} and $elem->content ne $match->{'content'}
219 0 0 0 $elem and $elem->isa('PPI::Token::Word')
228 0 0 0 $elem and $elem->isa('PPI::Token::Operator')
237 0 0 0 $elem and $elem->isa('PPI::Statement')
246 0 0 0 $elem and $elem->isa('PPI::Statement::Compound')
253 0 0 0 $elem and $elem->isa('PPI::Token::QuoteLike::Words')
264 0 0 0 $_elem->isa('PPI::Structure::List') and $_elem->schildren
279 0 0 0 $elem->isa('PPI::Structure::List') and $elem->schild(0)
0 0 0 $elem->isa('PPI::Structure::List') and $elem->schild(0) and $elem->schild(0)->isa('PPI::Statement::Expression')
412 0 0 0 $head and $head->next_sibling
431 0 0 0 $head and $head->next_sibling
446 0 0 0 $head and not &$callback(undef, $head)
469 0 0 0 $head->next_sibling and $head->next_sibling->isa('PPI::Token::Whitespace')
492 0 0 0 $head->previous_sibling and $head->previous_sibling->isa('PPI::Token::Whitespace')
610 0 0 0 $first_element and $first_element->isa('PPI::Token::Word')
0 0 0 $first_element and $first_element->isa('PPI::Token::Word') and $first_element->content eq 'sub'
647 0 0 0 is_ppi_generic_statement($element) and $element->schild(0)->content =~ / \A Readonly \b /msx
649 0 0 0 $pragma = $element->pragma and $pragma eq 'constant'
679 0 0 0 $element and !is_ppi_simple_statement($element) || $element->parent && $element->parent->isa('PPI::Structure::List')

or 3 conditions

line l !l&&r !l&&!r condition
309 0 0 0 $element->isa('PPI::Token::Word') or $element->isa('PPI::Token::Number::Version')
0 0 0 $element->isa('PPI::Token::Word') or $element->isa('PPI::Token::Number::Version') or $element->isa('PPI::Token::Number::Float')
575 0 0 0 $element->isa('PPI::Token::Number') || $element->isa('PPI::Token::Quote::Literal') || $element->isa('PPI::Token::Quote::Single') || $element->isa('PPI::Token::QuoteLike::Words') || ($element->isa('PPI::Token::Quote::Double') || $element->isa('PPI::Token::Quote::Interpolate')) && !($element->string =~ / (?: \A | [^\\] ) (?: \\\\)* [\$\@] /msx)
679 0 0 0 !is_ppi_simple_statement($element) || $element->parent && $element->parent->isa('PPI::Structure::List')