Branch Coverage

blib/lib/AI/Ollama/Client/Impl.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
154 0 0 unless exists $options{"digest"}
186 0 0 if ($resp->code == 200) { }
0 0 elsif ($resp->code == 404) { }
240 0 0 unless exists $options{"digest"}
275 0 0 if ($resp->code == 201) { }
419 0 0 if ($resp->code == 200) { }
424 0 0 unless $ct
426 0 0 if ($ct eq 'application/x-ndjson') { }
443 0 0 if ($$msg{"state"} eq "finished")
528 0 0 if ($resp->code == 200) { }
632 0 0 if ($resp->code == 200) { }
637 0 0 unless $ct
639 0 0 if ($ct eq 'application/x-ndjson') { }
656 0 0 if ($$msg{"state"} eq "finished")
739 0 0 if ($resp->code == 200) { }
829 0 0 if ($resp->code == 200) { }
833 0 0 if ($ct eq 'application/json') { }
1007 0 0 if ($resp->code == 200) { }
1012 0 0 unless $ct
1014 0 0 if ($ct eq 'application/x-ndjson') { }
1031 0 0 if ($$msg{"state"} eq "finished")
1140 0 0 if ($resp->code == 200) { }
1145 0 0 unless $ct
1147 0 0 if ($ct eq 'application/x-ndjson') { }
1164 0 0 if ($$msg{"state"} eq "finished")
1259 0 0 if ($resp->code == 200) { }
1263 0 0 if ($ct eq 'application/json') { }
1353 0 0 if ($resp->code == 200) { }
1357 0 0 if ($ct eq 'application/json') { }
1432 0 0 if ($resp->code == 200) { }
1436 0 0 if ($ct eq 'application/json') { }
1469 0 0 if ($self->validate_responses and my $openapi = $self->openapi)
1472 0 0 if ($$results{"error"})
1480 0 0 if ($self->validate_requests and my $openapi = $self->openapi)
1483 0 0 if ($$results{"error"})