Condition Coverage

blib/lib/Perl/Critic/Annotation.pm
Criterion Covered Total %
condition 17 29 58.6


and 3 conditions

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

or 2 conditions

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

or 3 conditions

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