Branch Coverage

blib/lib/Preprocess/Ops.pm
Criterion Covered Total %
branch 10 52 19.2


line true false branch
31 0 36 if $line =~ m[test.*//T\S]
32 2 34 if ($line =~ m[\Astatic\s*(.*?)((?:\w|\$)+)\s+//(\w*)\s*(.*)\Z])
35 1 33 if ($line =~ m[\A(.*?)(new(?:\w|\$)+)\s+//(\w*)\s*(.*)\Z])
44 1 35 if ($line =~ m[\A(typedef\s+)?struct\s+((?:\w|\$)+)\s*//(w*)\s*(.*)\Z])
58 0 0 if $line =~ m[\A//]
61 0 0 if ($name) { }
66 0 0 if ($name)
84 0 0 $w =~ /(\A|\.|\->)[i-n]/ ? :
94 0 0 if ($code->[$lineNumber] =~ /\A(duplicate)\s+/)
99 0 0 if $c =~ /\A\S/
108 0 0 if $@
127 0 0 if ($code =~ /\A(include)\s+/)
131 0 0 unless -e $file
137 0 0 if ($code[$i] =~ /\Aduplicate /)
146 0 0 if ($c =~ /\Ainclude/) { }
0 0 elsif ($c =~ /\Aexports\s/) { }
0 0 elsif (&method($c) or &structure($c)) { }
151 0 0 if ($items{":$name"})
153 0 0 unless $items{"!$e"}
158 0 0 if ($c =~ m[(\S+)\s*//])
160 0 0 if ($command =~ /include/ and $items{$item})
165 0 0 if $code[$i] =~ /\A }/
167 0 0 if (@l)
1032 0 1 if eval "eof(${p}::DATA)"
1034 0 1 if $@
1036 0 1 if $@