Condition Coverage

blib/lib/DBIx/TableHash.pm
Criterion Covered Total %
condition 0 151 0.0


and 3 conditions

line !l l&&!r l&&r condition
582 0 0 0 $ThisObject && $ThisHash
604 0 0 0 $TiedHash && tied(%$TiedHash)->{'_CacheHash'}
792 0 0 0 $$this{'_CacheHash'} and not $All
0 0 0 $$this{'_CacheHash'} and not $All and not $NoCache
804 0 0 0 $sth = $dbh->prepare("SELECT $SelectClause FROM $$this{'TableName'} \n\t\t\t\t\t\t\t\t\t WHERE $WhereClause $$this{'FixedKeyValsWhereClause'} ORDER BY $$this{'KeyField'}") and $sth->execute
877 0 0 0 $sth = $dbh->prepare("SELECT $$this{'KeyField'} FROM $$this{'TableName'} \n\t\t\t\t\t\t\t\t\t WHERE $$this{'KeyField'} = '${KeyName}' $$this{'FixedKeyValsWhereClause'}") and $sth->execute
893 0 0 0 $sth = $dbh->prepare("UPDATE $$this{'TableName'} SET $UpdateFieldsEqualValues \n\t\t\t\t\t\t WHERE $$this{'KeyField'} = '${KeyName}' $$this{'FixedKeyValsWhereClause'}") and $sth->execute
908 0 0 0 $sth = $dbh->prepare("INSERT INTO $$this{'TableName'} ($$this{'KeyField'}, $InsertFieldNames $$this{'FixedKeyValsKeyList'}) \n\t\t\t\t\t\t\t\t\t\t\t VALUES ('${KeyName}', $InsertValueNames $$this{'FixedKeyValsValueList'})") and $sth->execute
940 0 0 0 $sth = $dbh->prepare("SELECT $$this{'KeyField'} FROM $$this{'TableName'} \n\t\t\t\t\t\t\t\t\t WHERE $$this{'KeyField'} = '${KeyName}' $$this{'FixedKeyValsWhereClause'}") and $sth->execute
967 0 0 0 $sth = $dbh->prepare("DELETE FROM $$this{'TableName'} \n\t\t\t\t\t\t\t\t\t WHERE $$this{'KeyField'} = '${KeyName}' $$this{'FixedKeyValsWhereClause'}") and $sth->execute
991 0 0 0 $sth = $dbh->prepare("DELETE FROM $$this{'TableName'} \n\t\t\t\t\t\t\t\t\t WHERE 1 $$this{'FixedKeyValsWhereClause'}") and $sth->execute
1026 0 0 0 $$this{'_CacheHash'} and $$this{'CacheMode'} eq 'CacheOneTime'
1035 0 0 0 defined $$this{'CacheMode'} and $$this{'CacheMode'} ne 'CacheNone'
1048 0 0 0 $sth = $dbh->prepare("SELECT $$this{'KeyField'} FROM $$this{'TableName'} \n\t\t\t\t\t\t\t\t\t WHERE 1 $$this{'FixedKeyValsWhereClause'} ORDER BY $$this{'KeyField'}") and $sth->execute
1064 0 0 0 defined $$this{'CacheMode'} and $$this{'CacheMode'} ne 'CacheNone'
1204 0 0 0 defined $TableName and length $TableName
1205 0 0 0 defined $Fields and $Fields
0 0 0 defined $Fields and $Fields and keys %$Fields
1247 0 0 0 defined $TableName and length $TableName
1248 0 0 0 defined $SearchFields and $SearchFields
0 0 0 defined $SearchFields and $SearchFields and keys %$SearchFields
1249 0 0 0 defined $ReplaceFields and $ReplaceFields
0 0 0 defined $ReplaceFields and $ReplaceFields and keys %$ReplaceFields
1277 0 0 0 defined $TableName and length $TableName
1288 0 0 0 $sth = $dbh->prepare($QueryString) and $sth->execute
1318 0 0 0 defined $TableName and length $TableName
1325 0 0 0 $sth = $dbh->prepare("select * from $TableName $WhereClause") and $sth->execute
1355 0 0 0 defined $TableName and length $TableName
1362 0 0 0 $sth = $dbh->prepare("delete from $TableName $WhereClause") and $sth->execute
1386 0 0 0 defined $TableName and length $TableName
1391 0 0 0 $JoinTable && $JoinFields && @{$JoinFields ||= [];}
1407 0 0 0 $sth = $dbh->prepare($Query) and $sth->execute

or 2 conditions

line l !l condition
672 0 0 $$this{'DBIDriver'} ||= 'mysql'
675 0 0 $$this{'HostName'} ||= 'localhost'
676 0 0 $$this{'Port'} ||= undef
678 0 0 $$this{'Database'} ||= ''
679 0 0 $$this{'Login'} ||= ''
680 0 0 $$this{'Password'} ||= ''
682 0 0 $$this{'TableName'} ||= ''
684 0 0 $$this{'KeyField'} ||= ''
685 0 0 $$this{'ValueField'} ||= ''
687 0 0 $$this{'CacheMode'} ||= 'CacheNone'
802 0 0 $$this{'ValueField'} || $$this{'RetrieveMultiFieldList'} || '*'
1274 0 0 $SearchSpec ||= {}
1315 0 0 $SearchSpec ||= {}
1352 0 0 $SearchSpec ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
636 0 0 0 ref $ClassOrObj || $ClassOrObj
814 0 0 0 $All or @$RowValues < 1
861 0 0 0 $$this{'ValueField'} or keys %$ValuesHash
1202 0 0 0 $TableName ||= $$this{'TableName'}
1245 0 0 0 $TableName ||= $$this{'TableName'}
1275 0 0 0 $TableName ||= $$this{'TableName'}
1316 0 0 0 $TableName ||= $$this{'TableName'}
1353 0 0 0 $TableName ||= $$this{'TableName'}
1395 0 0 0 keys %$SearchSpec || @$JoinClauses