Branch Coverage

blib/lib/Perl/Critic/Policy/Community/WarningsSwitch.pm
Criterion Covered Total %
branch 4 4 100.0


line true false branch
22 1 7 unless $shebang->isa("PPI::Token::Comment") and $shebang->content =~ /^#!/
24 6 1 if $shebang->content =~ /\h-[a-zA-Z]*[wW]/