Branch Coverage

blib/lib/Data/Radius/DictionaryParser.pm
Criterion Covered Total %
branch 37 48 77.0


line true false branch
66 0 96 if $inc{$file}
77 2968 10928 if $line =~ /^\s*$/
86 5136 5792 if ($cmd eq 'attribute') { }
5512 280 elsif ($cmd eq 'value') { }
68 212 elsif ($cmd eq 'vendor') { }
36 176 elsif ($cmd eq 'begin-vendor') { }
36 140 elsif ($cmd eq 'end-vendor') { }
24 116 elsif ($cmd eq 'begin-tlv') { }
24 92 elsif ($cmd eq 'end-tlv') { }
92 0 elsif ($cmd eq '$include') { }
88 1400 3736 if ($vendor)
90 156 1244 if ($vendor =~ /has_tag/)
94 80 1320 if ($vendor =~ /encrypt=(\d)/)
100 232 1168 if ($has_options)
107 0 5136 if (exists $dict_attr{$name})
122 212 4924 if ($begin_tlv) { }
137 0 5512 unless (exists $dict_attr{$name})
152 0 36 unless (exists $dict_vendor_name{$name})
160 0 36 unless ($begin_vendor)
167 0 24 if ($begin_tlv)
174 0 24 unless (exists $dict_attr{$name})
178 0 24 if ($dict_attr{$name}{'type'} ne 'tlv')
186 0 24 unless ($begin_tlv)
198 0 92 if ('File::Spec'->file_name_is_absolute($name)) { }