Condition Coverage

blib/lib/Test/Stream/Compare/Array.pm
Criterion Covered Total %
condition 26 27 96.3


and 3 conditions

line !l l&&!r l&&r condition
71 322 171 6 $top and $idx
493 5 1 $top and $idx and $idx <= $top
84 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'
138 266 650 3 $self->{'ending'} and @list

or 2 conditions

line l !l condition
26 4 211 $self->{'items'} ||= {}
30 2 212 $self->{'order'} ||= [(sort {$a <=> $b;} keys %{$$self{'items'};})]
45 920 3 $params{'got'} || (return 0)

or 3 conditions

line l !l&&r !l&&!r condition
32 5 0 2 &looks_like_number($_) || ref $_ && &reftype($_) eq 'CODE'