Condition Coverage

blib/lib/DBIx/Class/Storage/DBI/MSSQL.pm
Criterion Covered Total %
condition 1 26 3.8


and 2 conditions

line l !l condition
115 0 8 not $$sql_bind->[0] =~ /^ \s* \( \s* SELECT \s+ TOP \s+ \d+ \s+ /xi and scalar $self->_extract_order_criteria($attrs->{'order_by'})

and 3 conditions

line !l l&&!r l&&r condition
41 0 0 0 $colinfo->{$col}{'data_type'} and $colinfo->{$col}{'data_type'} =~ /^money\z/i
62 0 0 0 $self->_perform_autoinc_retrieval and not $self->_no_scope_identity_query
88 0 0 0 not $identity and $self->_identity_method

or 3 conditions

line l !l&&r !l&&!r condition
34 0 0 0 $op eq 'insert' or $op eq 'update'
218 0 0 0 $datetime_parser ||= 'DateTime::Format::Strptime'->new('pattern', $datetime_format, 'on_error', 'croak')
228 0 0 0 $datetime_parser ||= 'DateTime::Format::Strptime'->new('pattern', $datetime_format, 'on_error', 'croak')
238 0 0 0 $smalldatetime_parser ||= 'DateTime::Format::Strptime'->new('pattern', $smalldatetime_format, 'on_error', 'croak')
248 0 0 0 $smalldatetime_parser ||= 'DateTime::Format::Strptime'->new('pattern', $smalldatetime_format, 'on_error', 'croak')