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
102 145 7 13 $esib->isa("PPI::Token::Comment") and $esib =~ /$use_critic/
108 28 0 1 $end->isa("PPI::Statement::End") and my $kid = $end->child(0)
113 3 0 0 $esib->isa("PPI::Token::Comment") and $esib->content =~ /$use_critic/
166 0 0 13 $line_number >= $effective_range->[0] and $line_number <= $effective_range->[$LAST_ELEMENT]
193 0 0 12 $sib->isa("PPI::Node") and $sib->logical_line_number < $annotation_line
197 12 0 12 $neighbor->isa("PPI::Node") and my $kid = $neighbor->schild($LAST_ELEMENT)
201 0 11 1 $neighbor and $neighbor->logical_line_number == $annotation_line

or 2 conditions

line l !l condition
26 79 9 $doc->find('PPI::Token::Comment') || (return)

or 3 conditions

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