Branch Coverage

blib/lib/Data/Netflow.pm
Criterion Covered Total %
branch 21 32 65.6


line true false branch
98 1 1 if ($version == 5) { }
1 0 elsif ($version == 9) { }
142 0 2 if ($byname) { }
152 6 34 if ($idx <= 2) { }
154 0 6 if ($byname) { }
165 0 34 if ($byname) { }
196 1 0 if ($flowset_id == 0)
212 1 0 if ($flowset_id != 0)
218 2 0 if (exists $templates{$flowset_id})
223 0 20 unless defined $i and defined $l
224 4 16 if (&any(sub { $_ == $i; } , '8', '12', '15', '18')) { }
0 16 elsif (&any(sub { $_ == $i; } , '27', '28', '62')) { }
288 4 16 if ($Id->[$fieldsIdx]{'Id'} == 8 or $Id->[$fieldsIdx]{'Id'} == 12) { }
290 0 4 $flow->[$fieldsIdx] =~ /:/ ? :
330 6 34 if ($Id->[$fieldsIdx]{'Id'} == 1 or $Id->[$fieldsIdx]{'Id'} == 2 or $Id->[$fieldsIdx]{'Id'} == 3) { }
332 0 6 $flow->[$fieldsIdx] =~ /:/ ? :