blib/lib/Net/Duo/Auth.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 20 | 65.0 |
line | true | false | branch |
---|---|---|---|
47 | 0 | 3 | if ($user_count < 1) { } |
0 | 3 | elsif ($user_count > 1) { } | |
54 | 0 | 3 | unless (defined $args{'factor'}) |
60 | 1 | 1 | if ($factor eq 'push' or $factor eq 'phone' or $factor eq 'auto') |
66 | 1 | 2 | if ($args{'pushinfo'}) |
120 | 0 | 2 | if (not defined $result->{'result'}) { } |
0 | 4 | elsif ($result->{'result'} ne 'allow' and $result->{'result'} ne 'deny') { } | |
132 | 1 | 1 | wantarray ? : |
155 | 0 | 1 | unless (defined $result->{'txid'}) |
191 | 0 | 2 | if ($result->{'status'} ne 'sent') |