Branch Coverage

blib/lib/Parse/Snort.pm
Criterion Covered Total %
branch 30 30 100.0


line true false branch
125 2 6 if (ref $data eq 'HASH') { }
1 5 elsif (defined $data) { }
231 10 8 if ($args) { }
234 6 4 if (ref $args eq 'ARRAY') { }
243 2 2 if ($args =~ /^\(/)
283 18 4 if (defined $self->get('opts'))
287 12 10 if (ref $element) { }
290 8 4 if ($val) { }
295 8 2 if ($val) { }
298 6 2 if (scalar $self->get('opts')) { }
390 14 28 exists $$self{$_} ? :
393 2 4 unless (scalar @missing)
397 4 2 if (defined $self->get('opts'))
398 46 2 defined $$_[1] ? :
401 2 4 !scalar(@missing) ? :