Branch Coverage

blib/lib/Perl/ToPerl6/Transformer/Builtins/FormatPrint.pm
Criterion Covered Total %
branch 7 18 38.8


line true false branch
47 3 58 if is_ppi_token_word($_[1], %map)
77 3 0 if $elem->isa('PPI::Token::Structure') and $elem->content eq ';'
80 0 0 if $elem->isa('PPI::Token::Word') and exists $postfix_modifier{$elem->content}
82 0 0 if $elem->isa('PPI::Token::Operator') and exists $operator{$elem->content}
88 3 0 if _is_end_of_print_expression($elem) or $elem->isa('PPI::Token::Whitespace') and _is_end_of_print_expression($elem->snext_sibling)
96 0 3 unless $elem->snext_sibling and $elem->snext_sibling->snext_sibling
108 0 0 if _is_almost_end_of_print_expression($token)
121 3 0 if ($elem->next_sibling->isa('PPI::Token::Whitespace'))
126 0 3 if ($elem->next_sibling->isa('PPI::Token::Whitespace'))