Branch Coverage

blib/lib/Net/Duo/Mock/Agent.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
65 17 29 if ($method eq 'GET') { }
93 0 46 unless (@{$self->{'expected'};})
106 17 29 if ($request->method eq 'GET') { }
107 13 4 if ($uri =~ s/ [?] (.*) //msux) { }
128 31 15 if ($expected->{'content'}) { }
162 10 0 if ($args_ref->{'key_file'})
209 0 46 if ($response_count < 1) { }
0 46 elsif ($response_count > 1) { }
217 1 45 if ($args_ref->{'response'}) { }
223 23 22 if (defined $args_ref->{'response_data'}) { }
231 2 43 if (defined $args_ref->{'next_offset'}) { }
2 41 elsif (exists $args_ref->{'next_offset'}) { }