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

# Branch Coverage

File: | lib/Makefile/Update/Makefile.pm
Coverage: | 89.2%

line | % | coverage | branch
--- | --- | --- | ---
94 | 100 | T | F | $_[0] =~ /(\.\S+)$/ ? :
110 | 100 | T | F | if (defined $line) { }
119 | 100 | T | F | if (defined $var)
120 | 100 | T | F | if ($line =~ /^(?<indent>\s*)(?<file>[^ ]+)(?<tail>\s*\\?)$/)
121 | 100 | T | F | if (defined $indent) { }
124 | 100 | T | F | if $+{'indent'} ne $indent
132 | 100 | T | F | unless defined $tail
140 | 100 | T | F | if (defined(my $file_ext = _get_ext($file)))
141 | 100 | T | F | if (defined $make_ext) { }
142 | 50 | T | F | if ($file_ext ne $make_ext)
154 | 100 | T | F | if ($file_ext ne $src_ext)
156 | 100 | T | F | if (exists $files{$file_try})
163 | 100 | T | F | unless (exists $files{$file})
172 | 100 | T | F | if (exists $files{$file})
173 | 100 | T | F | if ($files{$file}) { }
182 | 100 | T | F | if (@values and lc $line lt $values[-1])
192 | 100 | T | F | if ($last_tail =~ /\\$/ and $line =~ /\S/)
202 | 50 | T | F | if (defined $make_ext)
203 | 50 | T | F | if ($make_ext eq '' or keys %src_exts == 1 and exists $src_exts{$make_ext})
211 | 100 | T | F | if $seen
218 | 100 | T | F | unless ($new_files)
221 | 100 | T | F | if (@values and not $values[-1] =~ /\\$/)
227 | 100 | T | F | if (defined $make_ext)
235 | 100 | T | F | if ($new_files)
239 | 50 | T | F | if ($sorted)
258 | 100 | T | F | if ($line =~ /^\s*(?<var>\S+)\s*(?::?=|:)(?<tail>[^=]*)$/)
265 | 100 | T | F | if (exists $vars->{$makevar}) { }
270 | 100 | T | F | exists $$vars{$_[0]} ? :
272 | 100 | T | F | if ($makevar =~ /^objects$/i or $makevar =~ /^obj$/i) { }
| 100 | T | F | elsif ($makevar =~ /^(\w+)_(objects|obj|sources|src)$/i) { }
| 50 | T | F | elsif ($makevar =~ /^(\w+)\$\(\w+\)/) { }
285 | 50 | T | F | if (not defined $var and $2 eq 'SOURCES' and $1 =~ /^(\w+)_l?a$/)
287 | 100 | T | F | if (not defined $var and $1 =~ /^lib(\w+)$/)
298 | 50 | T | F | if (defined $var)
299 | 100 | T | F | if (not $tail =~ /\s*\\$/) { }
309 | 50 | T | F | if (defined(my $src_ext = _get_ext($file)))
330 | 100 | T | F | if $eof