Branch Coverage

blib/lib/Win32/Tracert/Parser.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
15 0 3 unless ref $tracert_outpout eq 'ARRAY'
24 9 92 if $curline =~ /^$/
25 0 92 unless "$curline" =~ /(\w|\d)+/
30 3 89 if ($curline =~ /^\S+.*\[(?:\d{1,3}\.){3}\d{1,3}\]/) { }
0 89 elsif ($curline =~ /^\S+.*\s(?:\d{1,3}\.){3}\d{1,3}\s/) { }
49 79 10 if ($curline =~ /^\s+\d+(?:\s+(?:\<1|\d+)\sms){3}\s+.*$/) { }
4 6 elsif ($curline =~ /^\s+\d+\s+(?:\*\s+){3}.*$/) { }
0 6 elsif ($curline =~ /^\s+\d+\s+\*\s+(?:\s+(?:\<1|\d+)\sms){2}.*$/) { }
55 67 12 if ($hop_identity =~ /.*\[(?:\d{1,3}\.){3}\d{1,3}\]/) { }
12 0 elsif ($hop_identity =~ /(?:\d{1,3}\.){3}\d{1,3}/) { }
105 0 0 if ($hop_identity =~ /.*\[(?:\d{1,3}\.){3}\d{1,3}\]/) { }
0 0 elsif ($hop_identity =~ /(?:\d{1,3}\.){3}\d{1,3}/) { }