Branch Coverage

blib/lib/AnyEvent/Groonga.pm
Criterion Covered Total %
branch 9 44 20.4


line true false branch
70 1 3 unless any sub { $command eq $_; } , @{$$self{'command_list'};}
72 0 3 if ($self->protocol eq 'http') { }
1 2 elsif ($self->protocol eq 'gqtp') { }
1 1 elsif ($self->protocol eq 'local_db') { }
76 1 0 unless $self->groonga_path and -e $self->groonga_path
82 1 0 unless $self->groonga_path and -e $self->groonga_path
85 0 0 unless $self->database_path and -e $self->database_path
122 0 0 if $$args_ref{'timeout'}
156 0 0 if $$args_ref{'timeout'}
205 0 0 if ($command eq 'load' and $key eq 'values') { }
0 0 elsif (ref $value eq 'ARRAY') { }
227 0 0 if ($self->protocol eq 'gqtp') { }
240 0 0 if ($command eq 'load' and $key eq 'values') { }
0 0 elsif ($command eq 'select' and $key eq 'query' || $key eq 'filter' || $key eq 'sortby' || $key eq 'scorer') { }
0 0 elsif (ref $value eq 'ARRAY') { }
251 0 0 if (ref $value eq 'ARRAY')
263 0 0 if $self->debug
270 0 0 unless utf8::is_utf8($data)
272 0 0 if ($1) { }
285 0 0 if ($self->protocol ne 'http')
290 0 0 if (ref $data ne 'ARRAY')
293 0 0 if $self->protocol ne 'http'