blib/lib/Plack/Builder/Conditionals.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 21 | 76.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
77 | 5 | 0 | 1 | defined $not && $not eq '!' |
96 | 20 | 0 | 9 | ref $val and ref $val eq 'Regexp' |
97 | 0 | 4 | 5 | exists $$env{$key} && $$env{$key} =~ /$val/ |
100 | 2 | 9 | 7 | exists $$env{$key} && $$env{$key} eq $val |
105 | 22 | 0 | 7 | defined $not && $not eq '!' |
116 | 1 | 4 | 4 | defined $_[0] and $_[0] eq '!' |
127 | 0 | 4 | 4 | defined $method and not ref $method |