Branch Coverage

blib/lib/Mercury.pm
Criterion Covered Total %
branch 8 12 66.6


line true false branch
41 1 3 if (my $origin = $app->config->{'broker'}{'allow_origin'})
43 0 1 ref $origin eq 'ARRAY' ? :
50 10 5 unless ($origin and grep {$origin =~ /$_/;} @origin)
63 33 4 if ($c->tx->is_websocket)
66 0 0 unless $c
101 4 0 if ($app->mode eq 'development')