Branch Coverage

blib/lib/Net/P0f/Backend/CmdFE.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
65 0 0 exists $$self{'options'}{$opt} ? :
82 0 0 unless length $$self{'options'}{'program_path'}
98 0 0 if ($$self{'options'}{'detection_mode'} == 1) { }
0 0 elsif ($$self{'options'}{'detection_mode'} == 2) { }
105 0 0 if ($$self{'options'}{'interface'}) { }
0 0 elsif ($$self{'options'}{'dump_file'}) { }
113 0 0 if $$self{'options'}{$opt}
118 0 0 if $$self{'options'}{$opt}
122 0 0 if $$self{'options'}{'filter'}
129 0 0 unless $pid
149 0 0 if (index($line, '>> ') == 0)
161 0 0 if $src =~ s[^([\d.]+)(?:/([\w.]+))?:(\d+) +- +][]
165 0 0 if $src =~ s/ \(up: (\d+) \w+\)//
169 0 0 if $src =~ /^(\w+) *(.*)$/
173 0 0 if $dest =~ s[^([\d.]+)(?:/([\w.]+))?:(\d+) +][]
177 0 0 if $dest =~ s/distance (\d+), //
181 0 0 if $dest =~ s/\(link: (.+)\)//
185 0 0 unless defined $header{$_}
186 0 0 unless defined $os_info{$_}
187 0 0 unless defined $link_info{$_}
193 0 0 if $@
195 0 0 if ++$loops == $$self{'loop'}{'count'}