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
116 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
42 0 0 0 $colinfo->{$col}{'data_type'} and $colinfo->{$col}{'data_type'} =~ /^money\z/i
63 0 0 0 $self->_perform_autoinc_retrieval and not $self->_no_scope_identity_query
89 0 0 0 not $identity and $self->_identity_method

or 3 conditions

line l !l&&r !l&&!r condition
35 0 0 0 $op eq 'insert' or $op eq 'update'
200 0 0 0 $datetime_parser ||= 'DateTime::Format::Strptime'->new('pattern', $datetime_format, 'on_error', 'croak')
210 0 0 0 $datetime_parser ||= 'DateTime::Format::Strptime'->new('pattern', $datetime_format, 'on_error', 'croak')
220 0 0 0 $smalldatetime_parser ||= 'DateTime::Format::Strptime'->new('pattern', $smalldatetime_format, 'on_error', 'croak')
230 0 0 0 $smalldatetime_parser ||= 'DateTime::Format::Strptime'->new('pattern', $smalldatetime_format, 'on_error', 'croak')