line |
true |
false |
branch |
61
|
3 |
4 |
if (defined $expected and ref $expected) { } |
101
|
19 |
28 |
if upgrade($$data{'match'})->validate($single_subject) |
125
|
1 |
2 |
if upgrade($$data{'code'})->validate($single_subject) |
149
|
1 |
3 |
unless upgrade($$data{'code'})->validate($single_subject) |
178
|
1 |
2 |
unless $length |
212
|
194 |
1 |
if (exists $self->subject->[$$data{'index'}]) { } |
284
|
1 |
6 |
if $$data{'groups'} < 1 |
289
|
14 |
8 |
if (0 == $i % $$data{'groups'}) |
290
|
9 |
5 |
if @$currentGroup |
296
|
5 |
1 |
if @$currentGroup |
352
|
15 |
15 |
if $$data{'must_match'} =~ /index/ |
353
|
7 |
23 |
if ($condition->validate($got)) |
354
|
6 |
1 |
if defined $currentGroup and @$currentGroup |
360
|
6 |
0 |
if defined $currentGroup and @$currentGroup |
388
|
3 |
4 |
if upgrade($$data{'match'})->validate($self->subject->[$i], $self->subtest('status_message', "Testing index $i")) |
391
|
2 |
1 |
if $result |
412
|
99 |
12 |
if ($length_result) |
450
|
2 |
14 |
unless $range =~ /^(?:\d+|\d+..\d+)(?:,(\d+|\d+..\d+))*$/ |
454
|
1 |
39 |
unless exists $self->subject->[$i] |
524
|
6 |
16 |
if (upgrade($$data{'match'})->validate($single_subject)) |
528
|
3 |
3 |
unless $$data{'include_self'} |
581
|
6 |
20 |
if (upgrade($$data{'match'})->validate($single_subject)) |
586
|
3 |
3 |
unless $$data{'include_self'} |
671
|
4 |
5 |
if $#{$self->subject;} == -1 |
672
|
0 |
5 |
if $#{$self->subject;} == 0 |
673
|
5 |
0 |
defined $$data{'dir'} ? : |
676
|
3 |
2 |
if $dir eq 'descending' |
682
|
2 |
7 |
unless $result |
783
|
8 |
36 |
if $#{$self->subject;} == -1 |
790
|
84 |
36 |
if ($i != 0) |
792
|
48 |
36 |
if (&$better($cmp_result)) { } |
|
12 |
24 |
elsif ($cmp_result == 0) { } |
804
|
18 |
18 |
if $$data{'must_match'} =~ /index/ |
805
|
36 |
0 |
if ($$data{'must_match'} =~ /any/) { } |
831
|
1 |
3 |
if $#{$self->subject;} == -1 |
832
|
1 |
2 |
if $#{$self->subject;} == 0 |
834
|
4 |
2 |
if ($i != 0) |
835
|
1 |
3 |
if $compare->eq($self->subject->[0], $single_subject) |
861
|
1 |
3 |
if $#{$self->subject;} == -1 |
862
|
1 |
2 |
if $#{$self->subject;} == 0 |
864
|
4 |
2 |
if ($i != 0) |
865
|
1 |
3 |
if $compare->ne($self->subject->[0], $single_subject) |
1122
|
21 |
23 |
if &$bt_core($self->subtest('subject', $subset), $subset, $$data{'expected'}) |
1144
|
19 |
25 |
if &$bt_core($self->subtest('subject', $subset), $subset, $$data{'expected'}) |