Condition Coverage

blib/lib/Perl/Critic/Policy/InputOutput/RequireBriefOpen.pm
Criterion Covered Total %
condition 19 23 82.6


and 3 conditions

line !l l&&!r l&&r condition
84 1 1 3 $is_lexical and is_method_call($close_token)
130 692 499 99 $candidate_loc->[0] == $open_loc->[0] and $candidate_loc->[1] <= $open_loc->[1]
131 0 1149 42 defined $end_line and $candidate_loc->[0] > $end_line
144 0 0 35 $self->{'_lines'} && defined $open_loc->[0]
183 2 1 26 "my" eq $tokens->[0] and $tokens->[1]->isa("PPI::Token::Symbol")
3 1 25 "my" eq $tokens->[0] and $tokens->[1]->isa("PPI::Token::Symbol") and $SCALAR_SIGIL eq $tokens->[1]->raw_type
193 0 1 8 $argument->isa("PPI::Token::Word") and $argument eq uc $argument

or 2 conditions

line l !l condition
133 31 93 $CLOSE_BUILTIN{$candidate->content} || 0