Condition Coverage

blib/lib/POE/Component/EasyDBI/SubProcess.pm
Criterion Covered Total %
condition 0 111 0.0


and 3 conditions

line !l l&&!r l&&r condition
180 0 0 0 $self->{'error'} and $self->{'no_connect_failures'}
0 0 0 $self->{'error'} and $self->{'no_connect_failures'} and kill 0, $self->{'parent_pid'}
221 0 0 0 ($self->{'ping_timeout'} == 0 || $self->{'ping_timeout'} > 0) && $now - $self->{'lastpingtime'} >= $self->{'ping_timeout'}
257 0 0 0 defined $self->{'no_cache'} and not defined $input->{'no_cache'}
313 0 0 0 $self->{'output'}{'error'} and $self->{'output'}{'error'} =~ /no connection to the server/i || $self->{'output'}{'error'} =~ /server has gone away/i || $self->{'output'}{'error'} =~ /server closed the connection/i || $self->{'output'}{'error'} =~ /connect failed/i
361 0 0 0 ref $error and ref $error eq "Error::Simple"
399 0 0 0 $data->{'args'} and ref $data->{'args'} eq "ARRAY"
542 0 0 0 defined $data->{'hash'} and not defined $data->{'insert'}
546 0 0 0 defined $data->{'insert'} and ref $data->{'insert'} eq "HASH"
551 0 0 0 defined $data->{'insert'} and ref $data->{'insert'} eq "ARRAY"
0 0 0 defined $data->{'sql'} && $data->{'sql'} =~ /^INSERT/i
576 0 0 0 $data->{'begin_work'} and $i == 0
614 0 0 0 $data->{'commit'} and defined $rows
0 0 0 $data->{'commit'} and defined $rows and not defined $self->{'output'}
619 0 0 0 defined $rows and not defined $self->{'output'}
738 0 0 0 $data->{'commit'} and defined $rows
0 0 0 $data->{'commit'} and defined $rows and not defined $self->{'output'}
743 0 0 0 defined $rows and not defined $self->{'output'}
819 0 0 0 exists $data->{'chunked'} and defined $self->{'output'}
828 0 0 0 exists $data->{'chunked'} and $data->{'chunked'} == $rows
956 0 0 0 exists $data->{'chunked'} and defined $self->{'output'}
966 0 0 0 exists $data->{'chunked'} and $data->{'chunked'} == $rows
1095 0 0 0 exists $data->{'chunked'} and defined $self->{'output'}
1103 0 0 0 exists $data->{'chunked'} and $data->{'chunked'} == $rows
1202 0 0 0 exists $data->{'chunked'} and defined $self->{'output'}
1214 0 0 0 exists $data->{'chunked'} and $data->{'chunked'} == $rows
1311 0 0 0 exists $data->{'chunked'} and defined $self->{'output'}
1320 0 0 0 exists $data->{'chunked'} and $data->{'chunked'} == $rows
1511 0 0 0 exists $data->{'chunked'} and defined $self->{'output'}
1519 0 0 0 exists $data->{'chunked'} and $data->{'chunked'} == $rows

or 2 conditions

line l !l condition
21 0 0 $obj->{'ping_timeout'} || 0
532 0 0 $self->{'dsn'} || ''
1567 0 0 shift() || undef

or 3 conditions

line l !l&&r !l&&!r condition
313 0 0 0 $self->{'output'}{'error'} =~ /no connection to the server/i || $self->{'output'}{'error'} =~ /server has gone away/i || $self->{'output'}{'error'} =~ /server closed the connection/i || $self->{'output'}{'error'} =~ /connect failed/i
0 0 0 $input->{'id'} eq "DBI" or $self->{'output'}{'error'} and $self->{'output'}{'error'} =~ /no connection to the server/i || $self->{'output'}{'error'} =~ /server has gone away/i || $self->{'output'}{'error'} =~ /server closed the connection/i || $self->{'output'}{'error'} =~ /connect failed/i
367 0 0 0 $data->{'error'} =~ /has gone away/i or $data->{'error'} =~ /lost connection/i
619 0 0 0 defined $rows || defined $self->{'output'}
743 0 0 0 defined $rows || defined $self->{'output'}