Condition Coverage

blib/lib/DBIx/SearchBuilder/Record.pm
Criterion Covered Total %
condition 45 81 55.5


and 2 conditions

line l !l condition
1055 0 1 $vglob and *$vglob{"SCALAR"}
1058 0 0 $vglob and *$vglob{"SCALAR"}

and 3 conditions

line !l l&&!r l&&r condition
536 0 0 1634 ref $pkeys eq "ARRAY" and $pkeys->[0]
783 17 8 0 not defined $args{'Value'} and $self->{'no_undefs_in_set'}
794 13 1 3 $args{'Value'} eq "" and $self->_Accessible($args{'Column'}, 'is_numeric') || ($self->_Accessible($args{'Column'}, 'type') || '') =~ /INT/i
825 3 2 17 defined $args{'Value'} and defined $current_value
5 15 2 defined $args{'Value'} and defined $current_value and $args{'Value'} eq $current_value
865 0 0 0 ref $bhash eq "HASH" and defined $args{'Value'} && length $args{'Value'} || $self->_Handle->HasSupportForEmptyString
997 256 0 4 $metadata->{'length'} and not $metadata->{'is_numeric'}
11 108 137 $metadata->{'type'} and $metadata->{'type'} =~ /char\((\d+)\)/
1125 1 1 59 defined $hash{$key} and $hash{$key} ne ""
1245 59 3 0 not $self->{'values'} and $sth->err
1294 238 1 1 $attribs{$key} eq "" and $self->_Accessible($key, 'is_numeric') || ($self->_Accessible($key, 'type') || '') =~ /INT/i
1316 0 0 0 $type and $type =~ /^(text|longtext|clob|blob|lob|longblob)$/i
1319 0 0 0 ref $bhash eq "HASH" and defined $attribs{$key} && length $attribs{$key} || $self->_Handle->HasSupportForEmptyString

or 2 conditions

line l !l condition
512 2203 1 shift() || ''
863 0 0 $ca->{$key}{'type'} // ""
1132 0 1 $hash{$key}{'function'} || '?'
1144 2 0 $meta->{'type'} ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
358 0 1487 0 ref $proto || $proto
619 3 0 0 $schema->{$field} || $$schema{$field . '_id'}
710 0 1807 0 $self->_Accessible($field, 'column') || $field
794 0 3 1 $self->_Accessible($args{'Column'}, 'is_numeric') || ($self->_Accessible($args{'Column'}, 'type') || '') =~ /INT/i
825 19 3 1 defined $args{'Value'} || defined $current_value
1 3 19 not defined $args{'Value'} || defined $current_value or defined $args{'Value'} and defined $current_value and $args{'Value'} eq $current_value
865 0 0 0 defined $args{'Value'} && length $args{'Value'} || $self->_Handle->HasSupportForEmptyString
1146 0 1 1 $meta->{'is_numeric'} or $meta->{'type'} =~ /INT|NUMERIC|DECIMAL|REAL|DOUBLE|FLOAT/i
1294 0 1 1 $self->_Accessible($key, 'is_numeric') || ($self->_Accessible($key, 'type') || '') =~ /INT/i
1319 0 0 0 defined $attribs{$key} && length $attribs{$key} || $self->_Handle->HasSupportForEmptyString