Branch Coverage

blib/lib/Perl/Critic/Policy/InputOutput/ProhibitBarewordFileHandles.pm
Criterion Covered Total %
branch 1 16 6.2


line true false branch
33 358 0 unless $OPEN_FUNCS{$elem->content}
34 0 0 unless is_function_call($elem)
37 0 0 unless $first_arg
41 0 0 if ('PPI::Statement::Scheduled' eq ref $first_arg) { }
0 0 elsif ($ARRAY_REF eq ref $first_arg) { }
53 0 0 unless $first_token
55 0 0 if ($first_token->isa("PPI::Token::Word"))
56 0 0 if ($first_token ne "my" and not $first_token =~ /^STD(?:IN|OUT|ERR)$/msx)