Branch Coverage

blib/lib/AI/Embedding.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
22 0 0 unless $attr{'api'}
23 0 0 unless $attr{'api'} eq "OpenAI"
24 0 0 unless $attr{'key'}
26 0 0 unless $attr{'model'}
28 0 0 if exists $attr{'comparator'}
96 0 0 if ($response->{'success'})
109 0 0 if ($response->{'success'})
121 0 0 unless defined $dimension
123 0 0 if ($text)
160 0 0 if (defined $embed2) { }
166 0 0 unless (defined $vector2)
171 0 0 if (scalar keys %$vector1 != scalar keys %$vector2)