Branch Coverage
lib/Plack/Middleware/BotDetector.pm
Criterion
Covered
Total
%
branch
3
4
75.0
line
true
false
branch
16
6
0
if ($user_agent)
18
3
3
if $user_agent =~ qr/$bot_regex/