blib/lib/Mercury.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 12 | 66.6 |
line | true | false | branch |
---|---|---|---|
40 | 1 | 3 | if (my $origin = $app->config->{'broker'}{'allow_origin'}) |
42 | 0 | 1 | ref $origin eq 'ARRAY' ? : |
49 | 10 | 5 | unless ($origin and grep {$origin =~ /$_/;} @origin) |
62 | 33 | 4 | if ($c->tx->is_websocket) |
65 | 0 | 0 | unless $c |
100 | 4 | 0 | if ($app->mode eq 'development') |