Branch Coverage

blib/lib/Template/Plugin/HTTP/UserAgent.pm
Criterion Covered Total %
branch 4 6 66.6


line true false branch
17 0 2 if (@_ == 0 and not exists $ENV{'HTTP_USER_AGENT'})
21 1 1 @_ > 0 ? :
23 0 2 unless (defined $ua)