Condition Coverage

blib/lib/Tie/FieldVals/Select.pm
Criterion Covered Total %
condition 21 61 34.4


and 3 conditions

line !l l&&!r l&&r condition
94 382 0 0 defined $match_any and $match_any
121 0 0 0 $i >= $first and $i <= $last
219 0 0 0 defined $match_any and $match_any
236 0 0 0 $i >= $first and $i <= $last
390 0 0 15 exists $self->{'field_names_hash'}{$sfname} and defined $self->{'field_names_hash'}{$sfname}
0 15 0 exists $self->{'field_names_hash'}{$sfname} and defined $self->{'field_names_hash'}{$sfname} and $self->{'field_names_hash'}{$sfname}
410 0 0 0 defined $sort_numerically{$fn} and $sort_numerically{$fn}
425 333 31 0 defined $sort_numerically{$fn} and $sort_numerically{$fn}
433 0 6 25 defined $a_val && $a_val
474 390 161 0 defined $sort_reversed{$fn} && $sort_reversed{$fn}
77 84 0 defined $sort_numerically{$fn} && $sort_numerically{$fn}
390 0 0 defined $sort_numerically{$fn} && $sort_numerically{$fn}
589 0 1 238 $ind >= 0 and $ind < $self->{'OPTIONS'}{'num_recs'}
622 0 0 0 $ind >= 0 and $ind < $self->{'OPTIONS'}{'num_recs'}
676 0 0 0 $ind >= 0 and $ind < $self->{'OPTIONS'}{'num_recs'}
698 0 0 0 $ind >= 0 and $ind < $self->{'OPTIONS'}{'num_recs'}

or 2 conditions

line l !l condition
567 4 3 $self->{'OPTIONS'}{'selection'} ||= undef
568 0 7 $self->{'OPTIONS'}{'match_any'} ||= undef

or 3 conditions

line l !l&&r !l&&!r condition
94 382 0 196 defined $select && $select || defined $match_any && $match_any
219 0 0 0 defined $select || defined $match_any
433 6 0 25 not defined $a_val && $a_val or $a_val =~ /\D/