line |
true |
false |
branch |
23
|
0 |
180 |
if (@_) |
25
|
0 |
0 |
if (@_ or ref $args ne 'HASH') |
39
|
526 |
0 |
if $this |
46
|
526 |
0 |
if $this |
76
|
55 |
124 |
if ($self->_has_run_before_all) |
83
|
180 |
348 |
if @_ |
86
|
528 |
0 |
exists $self->{'_name'} ? : |
91
|
161 |
6757 |
if (@_) |
93
|
161 |
0 |
if ref $self->{'_parent'} |
100
|
146 |
1400 |
if @_ |
101
|
658 |
888 |
if ($self->{'_class'}) { } |
|
888 |
0 |
elsif ($self->parent) { } |
145
|
57 |
523 |
if @_ |
151
|
55 |
55 |
if @_ |
157
|
1052 |
0 |
unless $self->_debugging |
163
|
0 |
0 |
unless $self->name |
170
|
0 |
1052 |
if ($Test::Spec::Context::Debug > 1) { } |
|
0 |
2104 |
elsif ($Test::Spec::Context::Debug and $self->class->phase == 1) { } |
186
|
72 |
180 |
if ('Test::Spec'->in_context($self)) |
187
|
72 |
0 |
unless ($self->{'_has_run_on_enter'}{$callback}++) |
201
|
0 |
157 |
$self->parent ? : |
212
|
216 |
0 |
wantarray ? : |
238
|
287 |
57 |
if $self->_has_run_before_all |
251
|
0 |
55 |
if $self->_has_run_after_all |
273
|
23 |
36 |
unless (defined $digits) |
277
|
0 |
23 |
if ($top_level_sum == 0) |
294
|
0 |
122 |
if (not $t->{'code'} or $t->{'todo'}) { } |
327
|
0 |
122 |
unless defined $str and length $str |
341
|
857 |
526 |
if ($self->parent) |
343
|
0 |
857 |
if $@ |
346
|
2617 |
1221 |
if $self->{'_has_run_on_enter'}{$on_enter}++ |
348
|
0 |
1221 |
if $@ |
350
|
0 |
1383 |
if @errs |
363
|
2617 |
1293 |
if $self->{'_has_run_on_leave'}{$on_leave}++ |
365
|
0 |
1293 |
if $@ |
367
|
857 |
526 |
if ($self->parent) |
369
|
0 |
857 |
if $@ |
371
|
0 |
1383 |
if @errs |
397
|
0 |
526 |
if $@ |
399
|
526 |
0 |
unless (@errs) |
401
|
0 |
526 |
if $@ |
407
|
0 |
526 |
if $@ |
409
|
0 |
526 |
if (@errs) |
410
|
0 |
0 |
if ($Test::Spec::Context::TODO) { } |
412
|
0 |
0 |
if $Test::Spec::Context::TODO =~ /^\d+$/ |