blib/lib/Net/Duo/Auth.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 20 | 65.0 |
line | true | false | branch |
---|---|---|---|
45 | 0 | 3 | if ($user_count < 1) { } |
0 | 3 | elsif ($user_count > 1) { } | |
52 | 0 | 3 | unless (defined $args{'factor'}) |
58 | 1 | 1 | if ($factor eq 'push' or $factor eq 'phone' or $factor eq 'auto') |
64 | 1 | 2 | if ($args{'pushinfo'}) |
118 | 0 | 2 | if (not defined $result->{'result'}) { } |
0 | 4 | elsif ($result->{'result'} ne 'allow' and $result->{'result'} ne 'deny') { } | |
130 | 1 | 1 | wantarray ? : |
153 | 0 | 1 | unless (defined $result->{'txid'}) |
189 | 0 | 2 | if ($result->{'status'} ne 'sent') |