Branch Coverage

blib/lib/OpenAIAsync/Client.pm
Criterion Covered Total %
branch 2 18 11.1


line true false branch
228 0 4 unless $api_key
230 0 4 $api_org_name ? :
266 0 0 if ($result->is_success) { }
288 0 0 if (ref $input eq 'HASH') { }
0 0 elsif (ref $input eq 'OpenAIAsync::Types::Requests::Completion') { }
304 0 0 if (ref $input eq 'HASH') { }
0 0 elsif (ref $input eq 'OpenAIAsync::Types::Requests::ChatCompletion') { }
320 0 0 if (ref $input eq 'HASH') { }
0 0 elsif (ref $input eq 'OpenAIAsync::Types::Requests::Embedding') { }