Branch Coverage

blib/lib/MetaCPAN/API/Autocomplete.pm
Criterion Covered Total %
branch 9 10 90.0


line true false branch
12 3 1 @_ ? :
18 1 3 unless %opts
19 1 2 unless $opts{'search'} and ref $opts{'search'} eq 'HASH'
23 2 0 if (defined(my $term = $opts{'search'}{'query'})) { }
28 1 1 if (defined $size and $size >= 0 and $size <= 100) { }