Branch Coverage

blib/lib/Snort/Rule.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
75 0 0 if $parms{-'parse'}
83 0 0 $parms{-'action'} ? :
84 0 0 $parms{-'proto'} ? :
85 0 0 $parms{-'src'} ? :
86 0 0 $parms{-'sport'} ? :
87 0 0 $parms{-'dir'} ? :
88 0 0 $parms{-'dst'} ? :
89 0 0 $parms{-'dport'} ? :
91 0 0 unless ref $parms{-'opts'} eq 'HASH'
120 0 0 unless $parms{-'optionsOnly'}
123 0 0 if ($self->opts->{$key}{'opt'})
125 0 0 if $self->opts->{$key}{'val'} and $self->opts->{$key}{'val'} ne '""'
129 0 0 unless $parms{-'optionsOnly'}
130 0 0 if $parms{-'optionsOnly'}
144 0 0 if defined $v
158 0 0 if defined $v
172 0 0 if defined $v
186 0 0 if defined $v
200 0 0 if defined $v
215 0 0 if defined $v
229 0 0 if defined $v
262 0 0 if (defined $opt)
263 0 0 if (ref $opt eq 'HASH') { }
291 0 0 if (defined $opt)
294 0 0 if $self->opts->{$key}{'opt'} eq $opt
305 0 0 if (defined $v and uc $opt eq $option) { }
0 0 elsif (not defined $v) { }
306 0 0 unless ($v =~ /^\"\S+|\s+\"$/)