| line |
!l |
l&&!r |
l&&r |
condition |
|
5
|
0 |
0 |
0 |
@_ and lc $_[0] eq 'pool' |
|
32
|
0 |
0 |
1 |
defined $attributes and ref $attributes eq 'HASH' |
|
110
|
1 |
0 |
0 |
$dbname and $DBD::Mock::AttributeAliasing |
|
282
|
0 |
0 |
0 |
ref $rs eq 'ARRAY' and scalar @{$rs;} > 0 |
|
337
|
0 |
0 |
0 |
$dbh->FETCH('AutoCommit') and $dbh->FETCH('Warn') |
|
355
|
0 |
0 |
0 |
$dbh->FETCH('AutoCommit') and $dbh->FETCH('Warn') |
|
458
|
0 |
0 |
0 |
$parser_type and not $parser_type =~ /^(ARRAY|HASH|SCALAR)$/ |
|
517
|
0 |
0 |
0 |
ref $value and UNIVERSAL::isa($value, 'DBD::Mock::Session') |
|
645
|
0 |
0 |
0 |
$$dbh{'mock_last_insert_ids'} and exists $$dbh{'mock_last_insert_ids'}{$1} |
|
1045
|
0 |
0 |
0 |
defined $value and $value eq 'yes' |
|
1206
|
0 |
0 |
0 |
exists ${$current_state;}{'statement'} and exists ${$current_state;}{'results'} |
| line |
l |
!l |
condition |
|
108
|
1 |
0 |
$attributes ||= {} |
|
127
|
1 |
0 |
DBI::_new_dbh($drh, {'Name', $dbname}) || (return) |
|
213
|
0 |
0 |
$$dbh{'mock_get_info'} ||= {} |
|
475
|
0 |
0 |
$$dbh{'mock_rs'} ||= {'named', {}, 'ordered', []} |
|
517
|
0 |
0 |
ref $value and UNIVERSAL::isa($value, 'DBD::Mock::Session') or die "Only DBD::Mock::Session objects can be placed into the 'mock_session' slot\n" |
|
658
|
0 |
0 |
$sth->rows || '0E0' |
|
716
|
0 |
0 |
$name ||= 'NAME' |
|
755
|
0 |
0 |
$$sth{'Database'}->FETCH('FetchHashKeyName') || 'NAME' |
|
908
|
0 |
0 |
$value ||= 0 |
|
961
|
0 |
0 |
$params{'return_data'} ||= [] |
|
962
|
0 |
0 |
$params{'fields'} ||= [] |
|
963
|
0 |
0 |
$params{'bound_params'} ||= [] |
|
964
|
0 |
0 |
$params{'statement'} ||= '' |
|
965
|
0 |
0 |
$params{'failure'} ||= undef |
|
1143
|
0 |
0 |
$history || [] |
|
1180
|
0 |
0 |
ref $_ eq 'HASH' or die 'You must specify session states as HASH refs' |