Branch Coverage

blib/lib/Makefile/Update/MSBuild.pm
Criterion Covered Total %
branch 64 66 96.9


line true false branch
20 1 2 unless (Makefile::Update::upmake($file_or_options, \&Makefile::Update::MSBuild::update_msbuild, $sources, $headers))
27 2 0 if (ref $file_or_options eq 'HASH') { }
67 11 117 if ($line =~ /^\s*$/) { }
18 99 elsif ($line =~ m[^\s*$]) { }
19 80 elsif ($in_group) { }
70 11 7 if (defined $files)
71 7 4 $in_sources ? :
77 5 9 unless ($seen)
93 19 0 if ($line =~ m[^\s*Compile|Include) Include="(?[^"]+)"\s*(?/)?>$])
95 11 8 if ($kind eq 'Compile') { }
96 1 10 if $in_headers
100 1 7 if $in_sources
112 8 11 if (not exists $files->{$file}) { }
116 1 7 unless ($closed_tag)
121 1 1 if m[^\s*\r?\n$]
129 1 10 if ($files->{$file}) { }
151 6 1 unless (defined $filter_cb)
155 2 2 if $file =~ /\.c(c|pp|xx|\+\+)?$/
156 1 1 if $file =~ /\.h(h|pp|xx|\+\+)?$/
185 17 102 if ($line =~ /^\s*?$/) { }
17 85 elsif ($line =~ m[^\s*?$]) { }
18 92 elsif ($in_group and $line =~ m[^\s*Compile|Include) Include="(?[^"]+)"\s*(?/)?>?$]) { }
188 10 7 if (defined $files)
192 7 3 $in_sources ? :
195 8 7 if (defined $files->{$file}) { }
206 5 2 if (defined $filter) { }
224 11 7 if ($kind eq 'Compile') { }
225 1 10 if $in_headers
229 1 6 if $in_sources
242 14 4 unless ($closed_tag)
247 14 14 if m[^\s*\r?\n?$]
251 8 10 if (not exists $files->{$file}) { }
255 1 9 if ($files->{$file}) { }