| blib/lib/App/EventStreamr/Roles/ConfigAPI.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 30 | 60.0 |
| line | true | false | branch |
|---|---|---|---|
| 28 | 0 | 10 | if @_ > 0 |
| 32 | 0 | 14 | if @_ > 0 |
| 36 | 0 | 14 | if @_ > 0 |
| 37 | 2 | 12 | if (-e $self->controller_config) { } |
| 44 | 0 | 14 | if @_ > 0 |
| 46 | 12 | 2 | unless $self->controller |
| 54 | 2 | 0 | if ($$response{'status'} == 201) |
| 72 | 2 | 0 | if ($$response{'status'} == 200) { } |
| 73 | 0 | 2 | if $self->is_debug |
| 76 | 2 | 0 | if (defined $$response{'content'} and $$response{'content'} ne 'true') |
| 108 | 0 | 25 | if @_ > 0 |
| 123 | 10 | 11 | if ($self->remote_config) |
| 150 | 0 | 10 | if $self->is_debug |
| 155 | 0 | 1 | if @_ > 0 |
| 160 | 0 | 1 | if $self->is_debug |