| blib/lib/Mojolicious/Plugin/WebSocketProxy.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 14 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 0 | 22 | unless $config->{'base_path'} |
| 22 | 0 | 22 | if $config->{'url'} and ref $config->{'url'} eq 'CODE' |
| 26 | 0 | 2 | if $url_setter and not $req_storage->{'url'} |
| 38 | 0 | 5 | if ref $details eq 'HASH' and keys %$details |
| 56 | 22 | 0 | if (ref $actions eq 'ARRAY') { } |
| 68 | 22 | 0 | unless exists $config->{'backends'}{'default'} |
| 70 | 22 | 0 | if (my $backend_configs = delete $config->{'backends'}) |