line |
true |
false |
branch |
26
|
0 |
190 |
if (@_) |
28
|
0 |
0 |
if (@_ or ref $args ne 'HASH') |
42
|
546 |
0 |
if $this |
49
|
546 |
0 |
if $this |
79
|
59 |
130 |
if ($self->_has_run_before_all) |
86
|
190 |
358 |
if @_ |
89
|
548 |
0 |
exists $self->{'_name'} ? : |
94
|
169 |
6911 |
if (@_) |
96
|
169 |
0 |
if ref $self->{'_parent'} |
103
|
154 |
1442 |
if @_ |
104
|
692 |
904 |
if ($self->{'_class'}) { } |
|
904 |
0 |
elsif ($self->parent) { } |
153
|
61 |
543 |
if @_ |
159
|
59 |
59 |
if @_ |
165
|
1110 |
0 |
unless $self->_debugging |
171
|
0 |
0 |
unless $self->name |
178
|
0 |
1110 |
if ($Test::Spec::Context::Debug > 1) { } |
|
0 |
2220 |
elsif ($Test::Spec::Context::Debug and $self->class->phase == 1) { } |
194
|
72 |
190 |
if ('Test::Spec'->in_context($self)) |
195
|
72 |
0 |
unless ($self->{'_has_run_on_enter'}{$callback}++) |
209
|
0 |
165 |
$self->parent ? : |
220
|
228 |
0 |
wantarray ? : |
246
|
293 |
61 |
if $self->_has_run_before_all |
259
|
0 |
59 |
if $self->_has_run_after_all |
281
|
25 |
38 |
unless (defined $digits) |
285
|
0 |
25 |
if ($top_level_sum == 0) |
302
|
0 |
128 |
if (not $t->{'code'} or $t->{'todo'}) { } |
335
|
0 |
128 |
unless defined $str and length $str |
349
|
873 |
546 |
if ($self->parent) |
351
|
0 |
873 |
if $@ |
354
|
2633 |
1241 |
if $self->{'_has_run_on_enter'}{$on_enter}++ |
356
|
0 |
1241 |
if $@ |
358
|
0 |
1419 |
if @errs |
371
|
2633 |
1313 |
if $self->{'_has_run_on_leave'}{$on_leave}++ |
373
|
0 |
1313 |
if $@ |
375
|
873 |
546 |
if ($self->parent) |
377
|
0 |
873 |
if $@ |
379
|
0 |
1419 |
if @errs |
406
|
0 |
546 |
if $@ |
408
|
546 |
0 |
unless (@errs) |
412
|
0 |
546 |
if $@ |
418
|
0 |
546 |
if $@ |
420
|
0 |
546 |
if (@errs) |
421
|
0 |
0 |
if ($Test::Spec::Context::TODO) { } |
423
|
0 |
0 |
if $Test::Spec::Context::TODO =~ /^\d+$/ |
461
|
9 |
0 |
if $this |
468
|
9 |
0 |
if $this |
469
|
0 |
9 |
unless ($yield_ok) |