blib/lib/WebService/Mattermost.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 10 | 90.0 |
line | true | false | branch |
---|---|---|---|
27 | 21 | 30 | unless ($self->auth_token) |
39 | 18 | 3 | if ($self->authenticate and $self->username and $self->password) { } |
2 | 1 | elsif ($self->authenticate and not $self->username && $self->password) { } | |
0 | 1 | elsif ($self->auth_token) { } | |
44 | 17 | 1 | if ($ret->is_success) { } |