Branch Coverage

lib/Test/DBIC/ExpectedQueries.pm
Criterion Covered Total %
branch 29 38 76.3


line true false branch
360 0 1 if (wantarray) { }
369 0 1 if wantarray
478 0 1 if ($wantarray) { }
493 0 1 if $wantarray
511 0 1 if ($failure_message)
535 14 3 if (exists $expected_table_count->{$table}{$operation}) { }
0 3 elsif (exists $expected_all_operation->{$operation}) { }
543 0 17 unless defined $expected_outcome
551 3 14 if $test_result
566 1 17 unless $operation_to_test->{$operation}
568 14 3 if exists $table_operation_count->{$table}{$operation}
571 1 2 unless defined $expected_outcome
580 2 0 if $test_result
584 4 2 if (scalar keys %$table_test_result)
603 1 1 unless my(@unknown_queries) = $self->unknown_queries
626 5 4 if $stack_trace
640 18 1 if ($expected_outcome =~ /^ \s* (\d+) /x) { }
1 0 elsif ($expected_outcome =~ /^ \s* (==|!=|>|>=|<|<=) \s* (\d+) /x) { }
655 14 5 if &$comparison($actual_count, $expected_count)