Branch Coverage

blib/lib/WebService/HIBP.pm
Criterion Covered Total %
branch 30 30 100.0


line true false branch
24 2 2 if ($params{'user_agent'}) { }
44 3 1 if (defined $self->{'last_response'})
52 1 1 if (defined $self->{'last_response'})
62 1 2 if ($response->is_success) { }
79 1 2 if ($response->is_success) { }
93 1 2 if ($response->is_success) { }
109 1 3 if ($parameters{'domain'})
113 2 2 if ($response->is_success) { }
131 1 5 if ($parameters{'unverified'})
134 1 5 if ($parameters{'truncate'})
137 1 5 if ($parameters{'domain'})
141 3 3 if (@filters)
145 4 2 if ($response->is_success) { }
167 3 2 if ($response->is_success) { }
171 1 1139 if ($pwned eq $remainder)