Condition Coverage

blib/lib/SQL/Statement/Functions.pm
Criterion Covered Total %
condition 94 173 54.3


and 3 conditions

line !l l&&!r l&&r condition
472 0 9 37 $_ and $_ != 2
9 2 35 $_ and $_ != 2 and $_ != 8
11 18 17 $_ and $_ != 2 and $_ != 8 and $_ != 10
20 16 1 $_ and $_ != 2 and $_ != 8 and $_ != 10 and $_ != 16
34 1 0 $_ and $_ != 2 and $_ != 8 and $_ != 10 and $_ != 16 and $_ != 64
17 0 0 $_ and $_ != 2 and $_ != 8 and $_ != 10 and $_ != 16 and $_ != 64 and croak("Invalid base: $_")
514 0 0 5 scalar @params > 3 and $#params & 1
532 7 0 0 &looks_like_number($rhs) and $lhs_isnum
7 0 0 &looks_like_number($rhs) and $lhs_isnum and $lhs == $rhs
608 0 0 4 $pos && $pos + $s
729 0 0 2 defined $params[0] and defined $params[1]

or 2 conditions

line l !l condition
352 21 0 defined $_ or return undef
442 29 1 defined $_ or return undef
471 20 3 $ebase ||= 10
551 11 2 defined $_ or return undef
582 3 2 defined $_ or return undef
588 3 2 defined $_ or return undef
604 8 0 defined $_ or return undef
606 2 2 $s || 0
691 4 0 defined $_ or return 0
708 2 0 defined $_ or return undef
798 3 0 defined $_ or return undef
799 1 0 $params[0] || ''
800 1 0 $params[1] || 0
1027 2 2 $_[3] || 0
1151 1 0 $_[2] || 0
1152 1 0 $_[2] || 0
1153 1 0 $_[2] || 0
1154 1 0 $_[2] || 0
1155 1 0 $_[2] || 0
1156 1 0 $_[2] || 0
1157 1 0 $_[2] || 0
1158 1 0 $_[2] || 0
1159 1 0 $_[2] || 0
1160 2 0 $_[2] || 0
1161 1 0 $_[2] || 0
1162 1 0 $_[2] || 0
1163 1 0 $_[2] || 0
1164 1 0 $_[2] || 0
1165 1 0 $_[2] || 0
1166 3 0 $_[2] || 0
2 1 $_[3] || 0
1167 1 0 $_[2] || 0
1168 1 0 $_[2] || 0
1169 1 0 $_[2] || 0
1170 1 0 $_[2] || 0
1171 1 0 $_[2] || 0
1172 1 0 $_[2] || 0
1173 1 0 $_[2] || 0
1174 1 0 $_[2] || 0
1175 5 0 $_[2] || 0
1176 1 0 $_[2] || 0
1177 3 0 $_[2] || 0
1178 0 0 $_[2] || 0
1179 0 0 $_[2] || 0
1180 0 0 $_[2] || 0
1181 1 0 $_[2] || 0
0 1 $_[3] || 0
1182 2 0 $_[2] || 0
0 2 $_[3] || 0
1183 1 0 $_[2] || 0
0 1 $_[3] || 0
1184 1 0 $_[2] || 0
0 1 $_[3] || 0
1185 1 0 $_[2] || 0
0 1 $_[3] || 0
1187 3 0 $_[2] || 0
0 3 $_[3] || 0
1188 2 0 $_[2] || 0
0 2 $_[3] || 0
1189 1 0 $_[2] || 0
0 1 $_[3] || 0
1190 1 0 $_[2] || 0
1191 3 0 $_[2] || 0
1192 1 0 $_[2] || 0
1193 2 0 $_[2] || 0
1194 2 0 $_[2] || 0
1195 5 0 $_[2] || 0

or 3 conditions

line l !l&&r !l&&!r condition
532 0 4 3 &looks_like_number($rhs) and $lhs_isnum and $lhs == $rhs or $lhs eq $rhs
801 1 0 0 $params[2] || length $string