Condition Coverage

blib/lib/Data/Radius/Encode.pm
Criterion Covered Total %
condition 13 25 52.0


and 3 conditions

line !l l&&!r l&&r condition
75 0 11 5 $attr && $attr->{'vendor'}
102 0 1 0 $attr && $attr->{'vendor'}
194 2 0 2 $attr->{'id'} == 1 and $attr->{'name'} ne 'Cisco-AVPair'

or 2 conditions

line l !l condition
190 4 0 $attr->{'vendor'} // ''
222 3 0 $attr->{'parent'} // ''

or 3 conditions

line l !l&&r !l&&!r condition
86 0 0 1 $tag < 1 or $tag > 31
118 4 4 9 $value < $range->[0] or $value > $range->[1]
135 0 0 2 $tag < 1 or $tag > 31
230 1 0 0 $dict->value($attr->{'name'}, $v->{'Value'}) // $v->{'Value'}