Branch Coverage

blib/lib/Net/Radius/Server/NS.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
25 0 0 unless exists $$prop{$_}
38 0 0 unless exists $$s{'nrs_rule_script'} and exists $$s{'nrs_secret_script'} and exists $$s{'nrs_dictionary_script'}
46 0 0 if @{$$s{$_};} != 1
52 0 0 if $@
54 0 0 unless ref $d_method eq 'CODE'
60 0 0 if $@
62 0 0 unless ref $s_method eq 'CODE'
68 0 0 if $@
69 0 0 unless ref $rules eq 'ARRAY'
95 0 0 if (length $$data{'packet'} < 18)
107 0 0 unless (defined $$data{'request'})
125 0 0 if (grep {$$data{'request'}->code eq $_;} 'Accounting-Request', 'Disconnect-Request', 'Disconnect-ACK', 'Disconnect-NAK', 'CoA-Request', 'CoA-ACK', 'CoA-NAK')
130 0 0 if (auth_acct_verify($$data{'packet'}, $$data{'secret'})) { }
150 0 0 unless (defined $res)
156 0 0 if ($res & 'NRS_SET_DISCARD')
162 0 0 if ($res & 'NRS_SET_SKIP')
168 0 0 if ($res & 'NRS_SET_RESPOND')
175 0 0 unless (defined $res)
181 0 0 if ($res & 'NRS_SET_RESPOND') { }