blib/lib/Plack/Middleware/DetectRobots.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 15 | 93.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
39 | 63 | 0 | 3 | defined $local and ref $local eq ref qr// |
63 | 2 | 1 | defined $local and ref $local eq ref qr// and $ua =~ /$local/ | |
43 | 1 | 2 | 63 | not $$env{$key} and $self->basic_check |
49 | 22 | 30 | 14 | not $$env{$key} and $self->extended_check |
55 | 26 | 26 | 14 | not $$env{$key} and $self->generic_check |