Branch Coverage

blib/lib/Perl/ToPerl6/Annotation.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
52 0 0 %disabled_transformers ? :
60 0 0 $parent ? :
64 0 0 if ($annotation_element =~ /\A [#]!/msx)
71 0 0 if (_is_single_line_annotation_on_simple_statement($annotation_element))
79 0 0 if (ref $parent eq 'PPI::Structure::Block')
80 0 0 if (ref $grandparent eq 'PPI::Statement::Compound' or ref $grandparent eq 'PPI::Statement::Sub')
82 0 0 if ($parent->logical_line_number == $annotation_line)
101 0 0 if $esib->isa('PPI::Token::Comment') and $esib =~ /$use_mogrify/
107 0 0 if ($end->isa('PPI::Statement::End') and my $kid = $end->child(0))
112 0 0 if $esib->isa('PPI::Token::Comment') and $esib->content =~ /$use_mogrify/
148 0 0 if $self->{'_disabled_transformers'}{$transformer_name}
149 0 0 if $self->disables_all_transformers
165 0 0 if $line_number >= $effective_range->[0] and $line_number <= $effective_range->[$LAST_ELEMENT]
179 0 0 unless my $sib = $annotation_element->sprevious_sibling
184 0 0 if $sib->logical_line_number == $annotation_line
192 0 0 if ($sib->isa('PPI::Node') and $sib->logical_line_number < $annotation_line)
200 0 0 if ($neighbor and $neighbor->logical_line_number == $annotation_line)
238 0 0 if (my($patterns_string) = $annotation_element =~ /$no_mogrify/)
257 0 0 unless (@disabled_transformer_names)