Branch Coverage

blib/lib/POE/Test/Helpers.pm
Criterion Covered Total %
branch 57 62 91.9


line true false branch
23 2 21 unless defined $tests
24 1 20 unless ref $tests eq 'HASH'
27 1 19 unless exists $opts{'run'}
28 1 18 unless ref $opts{'run'} eq 'CODE'
40 13 19 if (defined $count)
42 2 11 unless defined is_integer($count)
46 6 24 if (defined $order)
47 2 4 unless defined is_integer($order)
51 9 19 if (defined $deps)
52 2 7 unless ref $deps eq 'ARRAY'
56 8 18 if (defined $params)
57 2 6 unless ref $params eq 'ARRAY'
91 2 49 unless defined $name and $name ne ''
97 1 48 unless defined $event_order
99 2 46 unless defined is_integer($event_order)
102 32 14 if (defined $event_params)
103 2 30 unless ref $event_params eq 'ARRAY'
107 2 42 if (defined $event_deps)
108 2 0 unless ref $event_deps eq 'ARRAY'
124 4 38 if (defined $test_order)
129 13 29 if (defined $test_deps)
134 8 34 if (defined $test_params)
173 0 25 unless (grep /^$dep_event$/, @all_events)
180 0 13 @problems ? :
191 4 4 if ($$self{'params_type'} eq 'ordered') { }
207 4 2 if (eq_deeply($current_params, bag(@{$expected_params;})))
227 6 6 if ($change eq 'create') { }
6 0 elsif ($change eq 'lose') { }
235 6 0 $$self{'events_order'} ? :
253 9 12 if (exists $$test_data{'count'})
277 7 14 if $sub_to_override eq '_start' or $sub_to_override eq '_stop'