Condition Coverage

blib/lib/Perl/ToPerl6/Transformer/Pragmas/FormatConstants.pm
Criterion Covered Total %
condition 11 21 52.3


and 3 conditions

line !l l&&!r l&&r condition
38 0 0 9 $elem and $elem->first_element
43 2 7 0 $current->isa('PPI::Token::Word') and $current->content =~ /^Readonly/
2 6 1 $head->isa('PPI::Token::Word') and $head->content eq 'use'
8 0 1 $head->isa('PPI::Token::Word') and $head->content eq 'use' and $head->snext_sibling
6 0 1 $head->isa('PPI::Token::Word') and $head->content eq 'use' and $head->snext_sibling and $head->snext_sibling->isa('PPI::Token::Word')
0 1 0 $head->isa('PPI::Token::Word') and $head->content eq 'use' and $head->snext_sibling and $head->snext_sibling->isa('PPI::Token::Word') and $head->snext_sibling->content eq 'constant'
82 0 0 0 $current->snext_sibling and $current->content ne '=>'