Branch Coverage

blib/lib/Makefile/Update/MSBuild.pm
Criterion Covered Total %
branch 50 64 78.1


line true false branch
20 0 0 unless (Makefile::Update::upmake($project_fname, \&update_msbuild, $sources, $headers))
58 2 21 if ($line =~ /^\s*$/) { }
3 18 elsif ($line =~ m[^\s*$]) { }
7 11 elsif ($in_group) { }
61 2 1 if (defined $files)
62 1 1 $in_sources ? :
68 2 4 unless ($seen)
84 7 0 if ($line =~ m[^\s*Compile|Include) Include="(?[^"]+)"\s*(?/)?>$])
86 4 3 if ($kind eq 'Compile') { }
87 0 4 if $in_headers
91 0 3 if $in_sources
103 3 4 if (not exists $$files{$file}) { }
107 1 2 unless ($closed_tag)
112 1 1 if m[^\s*\r?\n$]
120 0 4 if ($$files{$file}) { }
142 0 1 unless (defined $filter_cb)
146 0 0 if $file =~ /\.c(c|pp|xx|\+\+)?$/
147 0 0 if $file =~ /\.h(h|pp|xx|\+\+)?$/
176 3 19 if ($line =~ /^\s*?$/) { }
3 16 elsif ($line =~ m[^\s*?$]) { }
7 12 elsif ($in_group and $line =~ m[^\s*Compile|Include) Include="(?[^"]+)"\s*(?/)?>?$]) { }
179 2 1 if (defined $files)
183 1 1 $in_sources ? :
186 4 3 if (defined $$files{$file}) { }
197 2 1 if (defined $filter) { }
215 4 3 if ($kind eq 'Compile') { }
216 0 4 if $in_headers
220 0 3 if $in_sources
233 5 2 unless ($closed_tag)
238 5 5 if m[^\s*\r?\n?$]
242 3 4 if (not exists $$files{$file}) { }
246 0 4 if ($$files{$file}) { }