Branch Coverage

blib/lib/DBIx/Foo/SimpleQuery.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
19 0 0 if scalar @_ > 2
32 0 0 if scalar @_ > 2
45 0 2 if scalar @_ > 2
51 0 2 if scalar @row == 1
73 0 3 if scalar @_ > 2
86 0 0 if scalar @_ > 3
99 15 9 if scalar @_ > 2
102 0 24 if ($self->dbh->get_info(17) eq 'Microsoft SQL Server' and $sql =~ /^insert/i)
111 19 4 if ($result and $sql =~ /^insert into (\w+)/i) { }
113 19 0 if (my $newid = $self->dbh->last_insert_id(undef, undef, $1, undef)) { }
133 0 0 unless $sql =~ /;\s*/
150 0 28 if ($dbh->err) { }
168 12 3 unless (ref $opts eq 'HASH')