Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
180 0 0 0 $$self{'error'} and $$self{'no_connect_failures'}
219 0 0 0 ($$self{'ping_timeout'} == 0 || $$self{'ping_timeout'} > 0) && $now - $$self{'lastpingtime'} >= $$self{'ping_timeout'}
256 0 0 0 defined $$self{'no_cache'} and not defined $$input{'no_cache'}
312 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
360 0 0 0 ref $error and ref $error eq 'Error::Simple'
398 0 0 0 $$data{'args'} and ref $$data{'args'} eq 'ARRAY'
541 0 0 0 defined $$data{'hash'} and not defined $$data{'insert'}
545 0 0 0 defined $$data{'insert'} and ref $$data{'insert'} eq 'HASH'
550 0 0 0 defined $$data{'insert'} and ref $$data{'insert'} eq 'ARRAY'
0 0 0 defined $$data{'sql'} && $$data{'sql'} =~ /^INSERT/i
575 0 0 0 $$data{'begin_work'} and $i == 0
613 0 0 0 $$data{'commit'} and defined $rows
0 0 0 $$data{'commit'} and defined $rows and not defined $$self{'output'}
618 0 0 0 defined $rows and not defined $$self{'output'}
737 0 0 0 $$data{'commit'} and defined $rows
0 0 0 $$data{'commit'} and defined $rows and not defined $$self{'output'}
742 0 0 0 defined $rows and not defined $$self{'output'}
818 0 0 0 exists $$data{'chunked'} and defined $$self{'output'}
827 0 0 0 exists $$data{'chunked'} and $$data{'chunked'} == $rows
955 0 0 0 exists $$data{'chunked'} and defined $$self{'output'}
965 0 0 0 exists $$data{'chunked'} and $$data{'chunked'} == $rows
1094 0 0 0 exists $$data{'chunked'} and defined $$self{'output'}
1102 0 0 0 exists $$data{'chunked'} and $$data{'chunked'} == $rows
1201 0 0 0 exists $$data{'chunked'} and defined $$self{'output'}
1213 0 0 0 exists $$data{'chunked'} and $$data{'chunked'} == $rows
1310 0 0 0 exists $$data{'chunked'} and defined $$self{'output'}
1319 0 0 0 exists $$data{'chunked'} and $$data{'chunked'} == $rows
1510 0 0 0 exists $$data{'chunked'} and defined $$self{'output'}
1518 0 0 0 exists $$data{'chunked'} and $$data{'chunked'} == $rows

or 2 conditions

line l !l condition
21 0 0 $$obj{'ping_timeout'} || 0
531 0 0 $$self{'dsn'} || ''
1566 0 0 shift() || undef

or 3 conditions

line l !l&&r !l&&!r condition
312 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
366 0 0 0 $$data{'error'} =~ /has gone away/i or $$data{'error'} =~ /lost connection/i
618 0 0 0 defined $rows || defined $$self{'output'}
742 0 0 0 defined $rows || defined $$self{'output'}