| blib/lib/Test/Stream/Compare/Array.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 27 | 96.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 74 | 321 | 162 | 6 | $top and $idx |
| 483 | 5 | 1 | $top and $idx and $idx <= $top | |
| 87 | 2 | 1 | 6 | @_ == 1 and $code |
| 3 | 1 | 5 | @_ == 1 and $code and ref $code | |
| 2 | 1 | 4 | @_ == 1 and $code and ref $code and &reftype($code) eq 'CODE' | |
| 141 | 258 | 641 | 3 | $self->{'ending'} and @list |
| line | l | !l | condition |
|---|---|---|---|
| 29 | 4 | 210 | $self->{'items'} ||= {} |
| 33 | 2 | 211 | $self->{'order'} ||= [(sort {$a <=> $b;} keys %{$$self{'items'};})] |
| 48 | 903 | 3 | $params{'got'} || (return 0) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 35 | 5 | 0 | 2 | &looks_like_number($_) || ref $_ && &reftype($_) eq 'CODE' |