line |
true |
false |
branch |
12
|
15 |
20 |
ref $_[0] ? : |
27
|
3 |
52 |
if ref $state ne 'HASH' |
32
|
3 |
49 |
unless exists $state->{'statement'} and exists $state->{'results'} |
37
|
1 |
13 |
if ref $stmt ne '' and $ref ne 'CODE' and $ref ne 'Regexp' |
46
|
2 |
33 |
if scalar @states == 0 |
80
|
6 |
46 |
unless ($self->has_states_left) |
90
|
1 |
45 |
if ($ref eq 'Regexp' and not $got =~ /$expected/) |
98
|
1 |
44 |
if ($ref eq 'CODE' and not &$expected($got, $state)) |
103
|
1 |
43 |
if (not $ref and $got ne $expected) |
120
|
21 |
22 |
if (exists do {
$current_state
}->{'bound_params'}) |
123
|
1 |
20 |
if (scalar @$expected != scalar @$params) |
148
|
7 |
35 |
if $ref eq 'Regexp' and $statement =~ /$stmt/ |
149
|
4 |
31 |
if $ref eq 'CODE' and &$stmt($statement, $_) |
150
|
30 |
1 |
if not $ref and $stmt eq $statement |
174
|
1 |
25 |
if ($ref eq 'Regexp') { } |
|
2 |
23 |
elsif ($got ne $expected) { } |
176
|
0 |
1 |
if (not $got =~ /$expected/) |