Condition Coverage

blib/lib/DBIx/DWIW.pm
Criterion Covered Total %
condition 0 77 0.0


and 3 conditions

line !l l&&!r l&&r condition
245 0 0 0 $$self{'DBH'} and $$self{'DBH'}->can($method)
488 0 0 0 @_ == 2 and $_[0] eq 'Slave' || $_[0] eq 'ReadOnly'
629 0 0 0 $Options{'ProxyHost'} and $Options{'ProxyPort'}
641 0 0 0 $Options{'ProxyCipher'} and $Options{'ProxyKey'}
684 0 0 0 $Host and my $Override = $ConnectTimeoutOverrideByHost{$Host}
693 0 0 0 $Host and my $Override = $QueryTimeoutOverrideByHost{$Host}
794 0 0 0 not $DBI::errstr and $@
805 0 0 0 $Retry and $DBI::errstr =~ /can\'t connect/i || $DBI::errstr =~ /Too many connections/i || $DBI::errstr =~ /Lost connection to MySQL server/i
0 0 0 $Retry and $DBI::errstr =~ /can\'t connect/i || $DBI::errstr =~ /Too many connections/i || $DBI::errstr =~ /Lost connection to MySQL server/i and $self->RetryWait($DBI::errstr)
1155 0 0 0 not $$self{'TrxRunning'} and $$self{'RETRY'}
0 0 0 not $$self{'TrxRunning'} and $$self{'RETRY'} and $err =~ /Lost connection/ || $err =~ /server has gone away/ || $err =~ /Server shutdown in progress/
1357 0 0 0 $$self{'RecentExecutedSth'} and defined $$self{'RecentExecutedSth'}{'mysql_insertid'}
2070 0 0 0 not $$self{'QUIET'} and $$self{'RetryCount'} > 1
2295 0 0 0 $$self{'BeginCount'} and not defined $name
2512 0 0 0 $$self{'DBI_STH'} and $$self{'DBI_STH'}->can($method)

or 2 conditions

line l !l condition
570 0 0 delete $Options{'Host'} || ''
574 0 0 $class->DefaultHost($DB) || ''
819 0 0 $DBI::errstr || $@ || 'internal error'
1479 0 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
488 0 0 0 $_[0] eq 'Slave' || $_[0] eq 'ReadOnly'
540 0 0 0 delete $Options{'DB'} || $class->DefaultDB
541 0 0 0 delete $Options{'User'} || $class->DefaultUser($DB)
543 0 0 0 delete $Options{'Port'} || $class->DefaultPort($DB)
805 0 0 0 $DBI::errstr =~ /can\'t connect/i || $DBI::errstr =~ /Too many connections/i || $DBI::errstr =~ /Lost connection to MySQL server/i
1155 0 0 0 $err =~ /Lost connection/ || $err =~ /server has gone away/ || $err =~ /Server shutdown in progress/
1494 0 0 0 $sql eq '' or $self->Execute($sql, @bind_vals)
1822 0 0 0 $sth->rows > 1 or $$sth{'NUM_OF_FIELDS'} > 1