Branch Coverage

blib/lib/Makefile/Update/Makefile.pm
Criterion Covered Total %
branch 45 58 77.5


line true false branch
40 9 3 $_[0] =~ /(\.\S+)$/ ? :
54 12 6 if (defined $var)
55 9 3 if ($line =~ /^(?\s*)(?[^ ]+)(?\s*\\?)$/)
56 6 3 if (defined $indent) { }
57 0 6 if $+{'indent'} ne $indent
67 1 8 unless defined $tail
75 7 2 if (defined(my $file_ext = _get_ext($file)))
76 5 2 if (defined $make_ext) { }
77 0 5 if ($file_ext ne $make_ext)
85 7 0 if ($file_ext ne $src_ext)
89 5 2 if (exists $files{$file}) { }
90 0 5 if ($files{$file}) { }
106 0 7 if (@values and lc $line lt $values[-1])
115 0 3 if $line =~ /\S/
120 5 5 if $seen
127 2 3 unless ($new_files)
130 1 1 if (@values and not $values[-1] =~ /\\$/)
136 2 3 if (defined $make_ext and $make_ext ne $src_ext)
144 2 1 if ($new_files)
148 2 0 if ($sorted)
165 3 6 if ($line =~ /^\s*(?\S+)\s*(?::?=|:)(?.*)/)
172 2 1 unless (exists $$vars{$var})
175 2 0 exists $$vars{$_[0]} ? :
177 0 2 if ($var =~ /^objects$/i or $var =~ /^obj$/i) { }
1 1 elsif ($var =~ /^(\w+)_(objects|obj|sources|src|headers|hdr)$/i) { }
1 0 elsif ($var =~ /^(\w+)\$\(\w+\)/) { }
182 0 1 unless $var = &$var_if_exists($1)
192 3 0 if (defined $var)
193 0 3 if (not $tail =~ /\s*\\$/) { }