Condition Coverage

blib/lib/Data/Radius/Encode.pm
Criterion Covered Total %
condition 13 40 32.5


and 3 conditions

line !l l&&!r l&&r condition
78 0 12 5 $attr && $attr->{'vendor'}
105 0 1 0 $attr && $attr->{'vendor'}
197 2 0 2 $attr->{'id'} == 1 and $attr->{'name'} ne "Cisco-AVPair"

or 2 conditions

line l !l condition
193 4 0 $attr->{'vendor'} // ""
225 3 0 $attr->{'parent'} // ""
252 0 0 $2 || 0
278 0 0 $2 || 0
304 0 0 $2 || 0

or 3 conditions

line l !l&&r !l&&!r condition
89 0 0 1 $tag < 1 or $tag > 31
121 4 4 11 $value < $range->[0] or $value > $range->[1]
138 0 0 2 $tag < 1 or $tag > 31
233 1 0 0 $dict->value($attr->{'name'}, $v->{'Value'}) // $v->{'Value'}
259 0 0 0 $prefix_len < 0 or $prefix_len > 32
285 0 0 0 $prefix_len < 0 or $prefix_len > 128
311 0 0 0 $prefix_len < 0 or $prefix_len > 128