line | % | coverage | branch |
51 | 100 | T | F | ref $self ? : |
61 | 50 | T | F | unless my $test_info = _test_info($self) |
73 | 50 | T | F | if ('Test::Class::MethodInfo'->is_num_tests($arg)) { } |
| 0 | T | F | elsif ('Test::Class::MethodInfo'->is_method_type($arg)) { } |
87 | 50 | T | F | unless $parent_class->can($name) |
88 | 0 | T | F | if _method_info($class, $parent_class, $name) |
95 | 50 | T | F | if ($symbol eq 'ANON') { } |
99 | 50 | T | F | if _is_public_method($class, $name) |
101 | 50 | T | F | unless eval {
do {
my($type, $num_tests) = _parse_attribute_args($args);
$$Tests{$class}{$name} = 'Test::Class::MethodInfo'->new('name', $name, 'num_tests', $num_tests, 'type', $type)
}
} |
120 | 100 | T | F | ref $self ? : |
126 | 50 | T | F | unless ref $proto |
138 | 50 | T | F | if $@ |
145 | 100 | T | F | if ($info->is_type($type)) |
146 | 50 | T | F | unless $type eq 'test' and not $name =~ /$method_regexp/ |
158 | 50 | T | F | if (my $reason = $self->SKIP_CLASS) |
159 | 0 | T | F | $reason eq '1' ? : |
165 | 50 | T | F | if $num_startup_shutdown_methods eq 'no_plan' |
168 | 50 | T | F | if $num_fixture_tests eq 'no_plan' |
171 | 100 | T | F | if $num_tests eq 'no_plan' |
178 | 50 | T | F | if (_isa_class('Test::Class', $test)) { } |
| 0 | T | F | elsif (defined $test and $test =~ /^\d+$/) { } |
180 | 100 | T | F | if $n eq 'no_plan' |
185 | 0 | T | F | unless defined $test |
199 | 50 | T | F | unless $info |
201 | 100 | T | F | if $num_tests eq 'no_plan' |
203 | 50 | T | F | unless $num_tests =~ /^\+/ |
217 | 50 | T | F | if $start_test == $current_test |
219 | 50 | T | F | unless $result |
227 | 0 | T | F | if defined $Current_method and $method ne $Current_method |
242 | 50 | T | F | unless (defined $description) |
247 | 50 | T | F | unless ($is_ok) |
254 | 100 | T | F | unless $skip_reason |
256 | 50 | T | F | if $exception |
259 | 100 | T | F | if $num_expected eq 'no_plan' |
260 | 100 | T | F | if ($num_done == $num_expected) { } |
| 50 | T | F | elsif ($num_done > $num_expected) { } |
261 | 50 | T | F | unless $exception eq '' |
267 | 50 | T | F | if ($exception ne '') { } |
281 | 100 | T | F | if $Builder->has_plan |
283 | 100 | T | F | if ($num_tests eq 'no_plan') { } |
294 | 50 | T | F | if @_ |
300 | 50 | T | F | unless defined $object_or_class |
301 | 50 | T | F | if $object_or_class eq 'Contextual::Return::Value' |
303 | 100 | T | F | if $object_or_class->isa($class) |
313 | 50 | T | F | unless $Check_block_has_run |
316 | 50 | T | F | if (@tests == 1 and not ref $tests[0]) |
323 | 50 | T | F | if $t =~ /^\d+$/ |
324 | 50 | T | F | unless _isa_class('Test::Class', $t) |
326 | 50 | T | F | if (my $reason = $t->SKIP_CLASS) { } |
328 | 0 | T | F | unless $reason eq '1' |
330 | 50 | T | F | unless ref $t |
332 | 0 | T | F | unless _has_no_tests($t, $method) |
334 | 0 | T | F | unless $method_passed |
335 | 0 | T | F | unless $method_passed |
342 | 50 | T | F | if $ENV{'TEST_VERBOSE'} |
344 | 50 | T | F | unless _has_no_tests($t, $method) |
345 | 50 | T | F | unless _run_method($t, $method, \@tests) |
349 | 0 | T | F | unless _has_no_tests($t, $method) |
350 | 0 | T | F | unless _run_method($t, $method, \@tests) |
360 | 0 | T | F | if $class eq 'Test::Class' |
361 | 0 | T | F | if _isa_class('Test::Class', $class) |
368 | 0 | T | F | unless my $class = _find_calling_test_class($self) |
370 | 0 | T | F | unless my $info = _method_info($self, $class, $method) |
372 | 0 | T | F | if defined $n |
378 | 0 | T | F | unless defined $Current_method |
389 | 0 | T | F | unless $Builder->expected_tests |
395 | 0 | T | F | unless $Builder->has_plan |
398 | 0 | T | F | $num_failed < 254 ? : |
403 | 0 | T | F | unless $Builder->has_plan |