Branch Coverage

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


line true false branch
385 0 1 if (wantarray) { }
394 0 1 if wantarray
521 0 1 if ($wantarray) { }
536 0 1 if $wantarray
553 0 1 if ($failure_message)
556 0 0 if $unknown_warning
561 0 1 if $unknown_warning
580 14 3 if (exists $expected_table_count->{$table}{$operation}) { }
0 3 elsif (exists $expected_all_operation->{$operation}) { }
588 0 17 unless defined $expected_outcome
596 3 14 if $test_result
611 1 17 unless $operation_to_test->{$operation}
613 14 3 if exists $table_operation_count->{$table}{$operation}
616 1 2 unless defined $expected_outcome
625 2 0 if $test_result
629 4 2 if (scalar keys %$table_test_result)
648 1 1 unless my(@unknown_queries) = $self->unknown_queries
671 5 4 if $stack_trace
685 18 1 if ($expected_outcome =~ /^ \s* (\d+) /x) { }
1 0 elsif ($expected_outcome =~ /^ \s* (==|!=|>|>=|<|<=) \s* (\d+) /x) { }
700 14 5 if &$comparison($actual_count, $expected_count)