| blib/lib/Net/Duo/Mock/Agent.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 20 | 80.0 |
| line | true | false | branch |
|---|---|---|---|
| 63 | 15 | 29 | if ($method eq 'GET') { } |
| 91 | 0 | 44 | unless ($self->{'expected'}) |
| 103 | 15 | 29 | if ($request->method eq 'GET') { } |
| 104 | 9 | 6 | if ($uri =~ s/ [?] (.*) //msux) { } |
| 125 | 27 | 17 | if ($self->{'expected'}{'content'}) { } |
| 160 | 10 | 0 | if ($args_ref->{'key_file'}) |
| 202 | 0 | 44 | if ($response_count < 1) { } |
| 0 | 44 | elsif ($response_count > 1) { } | |
| 210 | 1 | 43 | if ($args_ref->{'response'}) { } |
| 216 | 23 | 20 | if (defined $args_ref->{'response_data'}) { } |