Condition Coverage

blib/lib/DBIx/SearchBuilder/Record.pm
Criterion Covered Total %
condition 43 67 64.1


and 2 conditions

line l !l condition
1044 0 1 $vglob and *$vglob{"SCALAR"}
1047 0 0 $vglob and *$vglob{"SCALAR"}

and 3 conditions

line !l l&&!r l&&r condition
536 0 0 1494 ref $pkeys eq "ARRAY" and $pkeys->[0]
776 17 8 0 not defined $args{'Value'} and $self->{'no_undefs_in_set'}
787 13 1 3 $args{'Value'} eq "" and $self->_Accessible($args{'Column'}, 'is_numeric') || ($self->_Accessible($args{'Column'}, 'type') || '') =~ /INT/i
818 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
986 257 0 3 $metadata->{'length'} and not $metadata->{'is_numeric'}
11 109 137 $metadata->{'type'} and $metadata->{'type'} =~ /char\((\d+)\)/
1114 1 1 58 defined $hash{$key} and $hash{$key} ne ""
1234 58 3 0 not $self->{'values'} and $sth->err
1283 239 0 1 $attribs{$key} eq "" and $self->_Accessible($key, 'is_numeric') || ($self->_Accessible($key, 'type') || '') =~ /INT/i
1305 0 0 0 $type and $type =~ /^(text|longtext|clob|blob|lob)$/i

or 2 conditions

line l !l condition
512 2143 1 shift() || ''
1121 0 1 $hash{$key}{'function'} || '?'
1133 2 0 $meta->{'type'} ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
358 0 1397 0 ref $proto || $proto
619 3 0 0 $schema->{$field} || $$schema{$field . '_id'}
703 0 1755 0 $self->_Accessible($field, 'column') || $field
787 0 3 1 $self->_Accessible($args{'Column'}, 'is_numeric') || ($self->_Accessible($args{'Column'}, 'type') || '') =~ /INT/i
818 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
1135 0 1 1 $meta->{'is_numeric'} or $meta->{'type'} =~ /INT|NUMERIC|DECIMAL|REAL|DOUBLE|FLOAT/i
1283 0 1 0 $self->_Accessible($key, 'is_numeric') || ($self->_Accessible($key, 'type') || '') =~ /INT/i