Branch Coverage

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


line true false branch
15 0 4 unless ref $tracert_outpout eq 'ARRAY'
24 12 123 if $curline =~ /^$/
25 0 123 unless "$curline" =~ /(\w|\d)+/
30 4 119 if ($curline =~ /^\S+.*\[(?:\d{1,3}\.){3}\d{1,3}\]/) { }
0 119 elsif ($curline =~ /^\S+.*\s(?:\d{1,3}\.){3}\d{1,3}\s/) { }
49 106 13 if ($curline =~ /^\s+\d+(?:\s+(?:\<1|\d+)\sms){3}\s+.*$/) { }
5 8 elsif ($curline =~ /^\s+\d+\s+(?:\*\s+){3}.*$/) { }
0 8 elsif ($curline =~ /^\s+\d+\s+\*\s+(?:\s+(?:\<1|\d+)\sms){2}.*$/) { }
55 90 16 if ($hop_identity =~ /.*\[(?:\d{1,3}\.){3}\d{1,3}\]/) { }
16 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}/) { }