Branch Coverage

blib/lib/Dancer/Plugin/DetectRobots.pm
Criterion Covered Total %
branch 5 30 16.6


line true false branch
26 0 0 if (session($key))
29 0 0 if ($value eq 'NO') { }
0 0 elsif ($value eq 'BASIC') { }
0 0 elsif ($value eq 'EXTENDED') { }
0 0 elsif ($value eq 'GENERIC') { }
44 0 0 if ($type eq 'BASIC') { }
0 0 elsif ($type eq 'EXTENDED') { }
0 0 elsif ($type eq 'GENERIC') { }
45 0 0 if ($ua =~ /$basic/) { }
54 0 0 if ($ua =~ /$basic/) { }
0 0 elsif ($ua =~ /$extended/) { }
67 0 0 if ($ua =~ /$generic/) { }
95 0 794 unless $_
96 1 793 if /\A##\s+EXTENDED/
97 1 793 if /\A##\s+GENERIC/