Branch Coverage

blib/lib/QMake/Project.pm
Criterion Covered Total %
branch 0 92 0.0


line true false branch
35 0 0 if ($file)
36 0 0 if (-d $file or $file =~ /\.pr.$/i) { }
117 0 0 unless ($$self{'_found_qmake'})
120 0 0 if (my $found = which($qmake))
132 0 0 if (my $qmake = $self->qmake)
143 0 0 if ($WINDOWS)
192 0 0 if ($? != 0)
195 0 0 unless ($output =~ /\Q$MAGIC_QMAKE_EXIT_STRING\E/)
239 0 0 unless $line
241 0 0 if ($line =~ /qmake/i)
248 0 0 unless ($out)
290 0 0 if ($arg =~ /=/) { }
0 0 elsif ($arg =~ /^-/) { }
356 0 0 unless GetOptions map({$_, $sub_accept_option_without_value;} 'project', 'makefile', 'Wnone', 'Wall', 'Wparser', 'Wlogic', 'Wdeprecated', 'd', 'help', 'v', 'after', 'norecursive', 'recursive', 'nocache', 'nodepend', 'nomoc', 'nopwd', 'macx', 'unix', 'win32'), map({$_, $sub_accept_option_with_value;} 'unset=s', 'query=s', 'cache=s', 'spec=s', 't=s', 'tp=s'), 'o=s', sub { (undef, $makefile) = @_; } , '<>', $sub_accept_nonoption
374 0 0 if ($WINDOWS)
402 0 0 if ($@)
406 0 0 unless ($error =~ /^\Q$pkg\E: /)
410 0 0 if ($$self{'_die_on_error'})
437 0 0 if (@projectfiles == 0)
440 0 0 if (@projectfiles > 1)
445 0 0 unless (file_name_is_absolute($projectfile))
461 0 0 if (my $makefile = $self->makefile)
468 0 0 if (-f $project_file)
472 0 0 if (-d $project_file)
476 0 0 if (@candidates == 1)
482 0 0 if (@candidates == 1)
487 0 0 if (@candidates == 1)
502 0 0 unless ($to_resolve)
544 0 0 $ENV{'QMAKEFEATURES'} ? :
561 0 0 if ($initial_target =~ / /)
565 0 0 unless $qmake_args
591 0 0 unless @files
593 0 0 if (unlink(@files) != @files)
651 0 0 unless $$to_resolve{'variable'}
671 0 0 unless $$to_resolve{'test'}
702 0 0 if ($line =~ /\b$pkg::BEGIN/) { }
0 0 elsif ($line =~ /\b$pkg::END/) { }
709 0 0 unless $parsing
711 0 0 if ($line =~ /\b$pkg::variable:([^:]+):(.+)\z/) { }
0 0 elsif ($line =~ /\b$pkg::test:([^:]+):(.+)\z/) { }
723 0 0 unless $$self{'_resolved'}{'variable'}
727 0 0 unless $$self{'_resolved'}{'test'}
777 0 0 if (defined $resolved and ref $resolved eq 'ARRAY')
778 0 0 wantarray ? :
783 0 0 if (wantarray and not defined $resolved)
790 0 0 if (wantarray)