Condition Coverage

blib/lib/Perl/ToPerl6/Annotation.pm
Criterion Covered Total %
condition 14 29 48.2


and 3 conditions

line !l l&&!r l&&r condition
103 16 0 8 $esib->isa('PPI::Token::Comment') and $esib =~ /$use_mogrify/
109 11 0 1 $end->isa('PPI::Statement::End') and my $kid = $end->child(0)
114 3 0 0 $esib->isa('PPI::Token::Comment') and $esib->content =~ /$use_mogrify/
167 0 0 13 $line_number >= $effective_range->[0] and $line_number <= $effective_range->[$LAST_ELEMENT]
194 0 0 1 $sib->isa('PPI::Node') and $sib->logical_line_number < $annotation_line
198 1 0 1 $neighbor->isa('PPI::Node') and my $kid = $neighbor->schild($LAST_ELEMENT)
202 0 0 1 $neighbor and $neighbor->logical_line_number == $annotation_line

or 2 conditions

line l !l condition
27 7 4 $doc->find('PPI::Token::Comment') || (return)

or 3 conditions

line l !l&&r !l&&!r condition
50 13 0 0 $args{-'element'} || confess('-element argument is required')
82 1 0 0 ref $grandparent eq 'PPI::Statement::Compound' or ref $grandparent eq 'PPI::Statement::Sub'