Branch Coverage

blib/lib/Minilla/Project.pm
Criterion Covered Total %
branch 0 194 0.0


line true false branch
118 0 0 $self->config->{'allow_pureperl'} ? :
124 0 0 unless (defined $version)
132 0 0 exists $self->config->{'static_install'} ? :
133 0 0 if $v =~ /^\d+$/
134 0 0 if $v ne "auto"
136 0 0 if $self->build_class ne "Module::Build"
137 0 0 if $self->requires_external_bin
139 0 0 if grep {not /^script\b/;} @script_files
140 0 0 if %{$self->PL_files;} or grep {/^lib\b.*\.PL$/;} @{$self->files;}
141 0 0 if grep {/\.xs$/;} @{$self->files;}
142 0 0 if @{$self->unsupported->os;}
149 0 0 if (my $authors_from = $self->config->{'authors_from'})
155 0 0 unless $self->config->{'authors'}
166 0 0 if (my $abstract_from = $self->config->{'abstract_from'})
172 0 0 unless $self->config->{'abstract'}
177 0 0 unless $self->config->{'badges'}
187 0 0 defined $self->config->{'XSUtil'} ? :
192 0 0 if (my $xsutil = $self->config->{'XSUtil'})
193 0 0 $xsutil->{'needs_compiler_c99'} ? :
199 0 0 if (my $xsutil = $self->config->{'XSUtil'})
200 0 0 $xsutil->{'needs_compiler_cpp'} ? :
206 0 0 if (my $xsutil = $self->config->{'XSUtil'})
213 0 0 if (my $xsutil = $self->config->{'XSUtil'})
220 0 0 if (my $xsutil = $self->config->{'XSUtil'})
221 0 0 $xsutil->{'cc_warnings'} ? :
232 0 0 unless ("File::Spec"->file_name_is_absolute($dir))
241 0 0 if (-f $toml_path) { }
243 0 0 if ($err)
246 0 0 unless $conf->{'module_maker'}
256 0 0 if (exists $conf->{'build'} or exists $conf->{'XSUtil'})
257 0 0 unless $self->{'__already_warned'}++
277 0 0 $self->config->{'c_source'} ? :
284 0 0 if ($self->config and defined $self->config->{'name'})
286 0 0 if ($conf->{'name'} =~ /::/)
292 0 0 unless (defined $dist_name)
296 0 0 if ($dist_name eq ".")
298 0 0 unless ($dist_name)
318 0 0 if (my $conf = $self->config)
322 0 0 if $build_class
324 0 0 $self->use_xsutil ? :
332 0 0 unless (defined $source_path and -e $source_path)
344 0 0 if (my $license = delete $config->{'license'})
366 0 0 unless (my $d = "DirHandle"->new($realpath))
371 0 0 if (uc $_ eq uc $part)
386 0 0 if (defined(my $format = $self->config->{'tag_format'})) { }
408 0 0 if -f $path
411 0 0 if defined $path
424 0 0 $self->version =~ /_/ ? :
433 0 0 if ($self->metadata->perl_version)
462 0 0 unless ($dat->{'abstract'})
465 0 0 if ($self->authors) { }
470 0 0 if ($self->contributors and @{$self->contributors;} > 0)
473 0 0 if (my $authority = $self->config->{'authority'})
476 0 0 if (my $metadata = $self->config->{'Metadata'})
481 0 0 if ($release_status ne "unstable")
486 0 0 unless (%$provides)
494 0 0 if ($git_info->{'bugtracker'})
497 0 0 if ($git_info->{'repository'})
500 0 0 if ($git_info->{'homepage'})
505 0 0 if ($cpanfile->features)
528 0 0 if (my $registered_url = `git config --get remote.origin.url`)
531 0 0 if (not $registered_url =~ m[^file://] and $registered_url =~ /(?:github|gitlab)\.com/) { }
541 0 0 unless ($self->config->{'no_github_issues'})
553 0 0 unless ($registered_url =~ m[^(?:https?|ssh|git)://])
569 0 0 unless ($registered_url =~ m[^file://])
587 0 0 unless $self->config->{'readme_from'}
596 0 0 if (Cwd::getcwd() ne $self->dir)
621 0 0 if ($profile eq 'ModuleBuild') { }
0 0 elsif ($profile eq 'ExtUtilsMakeMaker') { }
638 0 0 if ($markdown_maker eq "Pod::Markdown")
643 0 0 unless ($parser->isa("Pod::Markdown"))
651 0 0 if (ref $self->badges eq "ARRAY" and scalar @{$self->badges;} > 0)
656 0 0 if (my $web_url = $git_info->{'repository'}{'web'})
661 0 0 if ($user_name and $repository_name)
665 0 0 if ($service_name =~ /^travis(?:-ci\.(?:org|com))?$/) { }
0 0 elsif ($service_name eq 'appveyor') { }
0 0 elsif ($service_name eq 'coveralls') { }
0 0 elsif ($service_name eq 'codecov') { }
0 0 elsif ($service_name eq 'gitter') { }
0 0 elsif ($service_name eq 'circleci') { }
0 0 elsif ($service_name eq 'metacpan') { }
0 0 elsif ($service_name eq 'kritika') { }
0 0 elsif ($service_name =~ m[^github-actions(?:/(.+))?$]) { }
0 0 elsif ($service_name eq 'gitlab-pipeline') { }
0 0 elsif ($service_name eq 'gitlab-coverage') { }
674 0 0 unless defined $image_uri_qs{'branch'}
675 0 0 if ($service_name =~ /^travis(?:-ci\.(?:org|com))$/) { }
0 0 elsif (not defined $image_uri_qs{'token'}) { }
713 0 0 if ($workflow_file =~ /\.(?:yml|yaml)$/) { }
736 0 0 if ($Minilla::AUTO_INSTALL)
744 0 0 unless `git show-ref --head`
748 0 0 if (/<([^>]+)>/) { }
778 0 0 exists $conf->{'include_dotfiles'} ? :
787 0 0 if (my $br = $self->config->{'release'}{'branch'})
801 0 0 unless $_ =~ /\.(?:pm|pl|t)$/i
805 0 0 unless +(shift())->config->{'PL_files'}
816 0 0 if ($module_maker->can('validate')) { }