| blib/lib/Mojolicious/Plugin/WebSocketProxy.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 16 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 0 | 22 | unless $config->{'base_path'} |
| 24 | 0 | 22 | if $config->{'url'} and ref $config->{'url'} eq 'CODE' |
| 28 | 0 | 2 | if $url_setter and not $req_storage->{'url'} |
| 40 | 0 | 5 | if ref $details eq 'HASH' and keys %$details |
| 42 | 0 | 5 | if ($details and ref $details ne 'HASH') |
| 62 | 22 | 0 | if (ref $actions eq 'ARRAY') { } |
| 74 | 22 | 0 | unless exists $config->{'backends'}{'default'} |
| 76 | 22 | 0 | if (my $backend_configs = delete $config->{'backends'}) |