Branch Coverage

blib/lib/Perl/Critic/Policy/Community/OpenArgs.pm
Criterion Covered Total %
branch 6 6 100.0


line true false branch
21 12 9 unless $elem eq "open" and is_function_call($elem)
24 6 3 if (@args < 3)
25 2 2 if @args == 2 and $args[1][0]->isa("PPI::Token::Quote") and $args[1][0]->string =~ /^(?:-\||\|-)\z/