Branch Coverage: lib/Makefile/Update/MSBuild.pm

# Branch Coverage

File: | lib/Makefile/Update/MSBuild.pm
Coverage: | 97.0%

line | % | coverage | branch
--- | --- | --- | ---
45 | 100 | T | F | unless (Makefile::Update::upmake($file_or_options, \&Makefile::Update::MSBuild::update_msbuild, $sources, $headers))
52 | 50 | T | F | if (ref $file_or_options eq 'HASH') { }
101 | 100 | T | F | if ($line =~ /^\s*<ItemGroup>$/) { }
| 100 | T | F | elsif ($line =~ m[^\s*</ItemGroup>$]) { }
| 100 | T | F | elsif ($in_group) { }
104 | 100 | T | F | if (defined $files)
105 | 100 | T | F | $in_sources ? :
111 | 100 | T | F | unless ($seen)
127 | 50 | T | F | if ($line =~ m[^\s*<Cl(?<kind>Compile|Include) Include="(?<file>[^"]+)"\s*(?<slash>/)?>$])
129 | 100 | T | F | if ($kind eq 'Compile') { }
130 | 100 | T | F | if $in_headers
134 | 100 | T | F | if $in_sources
146 | 100 | T | F | if (not exists $files->{$file}) { }
150 | 100 | T | F | unless ($closed_tag)
155 | 100 | T | F | if m[^\s*</$tag>\r?\n$]
163 | 100 | T | F | if ($files->{$file}) { }
195 | 100 | T | F | unless (defined $filter_cb)
199 | 100 | T | F | if $file =~ /\.c(c|pp|xx|\+\+)?$/
200 | 100 | T | F | if $file =~ /\.h(h|pp|xx|\+\+)?$/
229 | 100 | T | F | if ($line =~ /^\s*<ItemGroup>?$/) { }
| 100 | T | F | elsif ($line =~ m[^\s*</ItemGroup>?$]) { }
| 100 | T | F | elsif ($in_group and $line =~ m[^\s*<Cl(?<kind>Compile|Include) Include="(?<file>[^"]+)"\s*(?<slash>/)?>?$]) { }
232 | 100 | T | F | if (defined $files)
236 | 100 | T | F | $in_sources ? :
239 | 100 | T | F | if (defined $files->{$file}) { }
250 | 100 | T | F | if (defined $filter) { }
268 | 100 | T | F | if ($kind eq 'Compile') { }
269 | 100 | T | F | if $in_headers
273 | 100 | T | F | if $in_sources
286 | 100 | T | F | unless ($closed_tag)
291 | 100 | T | F | if m[^\s*</Cl$kind>\r?\n?$]
295 | 100 | T | F | if (not exists $files->{$file}) { }
299 | 100 | T | F | if ($files->{$file}) { }