Condition Coverage

blib/lib/DBIx/Raw.pm
Criterion Covered Total %
condition 33 72 45.8


and 3 conditions

line !l l&&!r l&&r condition
686 0 0 3 $params->{'query'} and $params->{'key'}
0 0 3 $params->{'query'} and $params->{'key'} and $params->{'val'}
759 0 0 3 $params->{'query'} and $params->{'key'}
865 0 0 3 $params->{'query'} and $params->{'key'}
0 0 3 $params->{'query'} and $params->{'key'} and $params->{'val'}
967 0 0 0 $params->{'href'} and $params->{'table'}
979 0 0 0 $params->{'encrypt'} and &first(sub { $_ eq $key; } , @{$$params{'encrypt'};})
996 0 0 0 $params->{'encrypt'} and @encrypt
1113 0 0 17 $params->{'href'} and $params->{'table'}
1125 24 0 24 defined $params->{'encrypt'} and $params->{'encrypt'} eq '*'
24 0 0 $params->{'encrypt'} and &first(sub { $_ eq $key; } , @{$$params{'encrypt'};})
1171 9 0 8 $params->{'encrypt'} and @encrypt
1234 0 0 1 $params->{'columns'} and $params->{'table'}
0 0 1 $params->{'columns'} and $params->{'table'} and $params->{'rows'}
1479 68 1 68 $self->conf eq $self->prev_conf and $self->dsn
69 0 68 $self->conf eq $self->prev_conf and $self->dsn and $self->user
1 68 0 $self->conf eq $self->prev_conf and $self->dsn and $self->user and $self->password
1499 1 0 139 defined $self->dsn and defined $self->user
1 0 139 defined $self->dsn and defined $self->user and defined $self->password

or 3 conditions

line l !l&&r !l&&!r condition
447 35 2 10 $num_commas > 0 or $num_stars > 0
451 58 0 0 $params->{'query'} =~ /SELECT /sig or $params->{'query'} =~ /SHOW /sig
1125 24 0 24 defined $params->{'encrypt'} and $params->{'encrypt'} eq '*' or $params->{'encrypt'} and &first(sub { $_ eq $key; } , @{$$params{'encrypt'};})
1367 70 0 0 'DBI'->connect($self->dsn, $self->user, $self->password) || croak($DBI::errstr)
1499 139 1 0 defined $self->dsn and defined $self->user and defined $self->password or defined $self->dbh