Branch Coverage

lib/Test/DBIC/ExpectedQueries.pm
Criterion Covered Total %
branch 30 42 71.4


line true false branch
374 0 1 if (wantarray) { }
383 0 1 if wantarray
503 0 1 if ($wantarray) { }
518 0 1 if $wantarray
535 0 1 if ($failure_message)
538 0 0 if $unknown_warning
543 0 1 if $unknown_warning
562 14 3 if (exists $expected_table_count->{$table}{$operation}) { }
0 3 elsif (exists $expected_all_operation->{$operation}) { }
570 0 17 unless defined $expected_outcome
578 3 14 if $test_result
593 1 17 unless $operation_to_test->{$operation}
595 14 3 if exists $table_operation_count->{$table}{$operation}
598 1 2 unless defined $expected_outcome
607 2 0 if $test_result
611 4 2 if (scalar keys %$table_test_result)
630 1 1 unless my(@unknown_queries) = $self->unknown_queries
653 5 4 if $stack_trace
667 18 1 if ($expected_outcome =~ /^ \s* (\d+) /x) { }
1 0 elsif ($expected_outcome =~ /^ \s* (==|!=|>|>=|<|<=) \s* (\d+) /x) { }
682 14 5 if &$comparison($actual_count, $expected_count)