Branch Coverage

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


line true false branch
119 0 0 $self->config->{'allow_pureperl'} ? :
125 0 0 unless (defined $version)
133 0 0 exists $self->config->{'static_install'} ? :
134 0 0 if $v =~ /^\d+$/
135 0 0 if $v ne "auto"
137 0 0 if $self->build_class ne "Module::Build"
138 0 0 if $self->requires_external_bin
140 0 0 if grep {not /^script\b/;} @script_files
141 0 0 if %{$self->PL_files;} or grep {/^lib\b.*\.PL$/;} @{$self->files;}
142 0 0 if grep {/\.xs$/;} @{$self->files;}
143 0 0 if @{$self->unsupported->os;}
150 0 0 if (my $authors_from = $self->config->{'authors_from'})
156 0 0 unless $self->config->{'authors'}
167 0 0 if (my $abstract_from = $self->config->{'abstract_from'})
173 0 0 unless $self->config->{'abstract'}
178 0 0 unless $self->config->{'badges'}
188 0 0 defined $self->config->{'XSUtil'} ? :
193 0 0 if (my $xsutil = $self->config->{'XSUtil'})
194 0 0 $xsutil->{'needs_compiler_c99'} ? :
200 0 0 if (my $xsutil = $self->config->{'XSUtil'})
201 0 0 $xsutil->{'needs_compiler_cpp'} ? :
207 0 0 if (my $xsutil = $self->config->{'XSUtil'})
214 0 0 if (my $xsutil = $self->config->{'XSUtil'})
221 0 0 if (my $xsutil = $self->config->{'XSUtil'})
222 0 0 $xsutil->{'cc_warnings'} ? :
233 0 0 unless ("File::Spec"->file_name_is_absolute($dir))
242 0 0 if (-f $toml_path) { }
244 0 0 if ($err)
247 0 0 unless $conf->{'module_maker'}
257 0 0 if (exists $conf->{'build'} or exists $conf->{'XSUtil'})
258 0 0 unless $self->{'__already_warned'}++
278 0 0 $self->config->{'c_source'} ? :
285 0 0 if ($self->config and defined $self->config->{'name'})
287 0 0 if ($conf->{'name'} =~ /::/)
293 0 0 unless (defined $dist_name)
297 0 0 if ($dist_name eq ".")
299 0 0 unless ($dist_name)
319 0 0 if (my $conf = $self->config)
323 0 0 if $build_class
325 0 0 $self->use_xsutil ? :
333 0 0 unless (defined $source_path and -e $source_path)
345 0 0 if (my $license = delete $config->{'license'})
367 0 0 unless (my $d = "DirHandle"->new($realpath))
372 0 0 if (uc $_ eq uc $part)
387 0 0 if (defined(my $format = $self->config->{'tag_format'})) { }
409 0 0 if -f $path
412 0 0 if defined $path
425 0 0 $self->version =~ /_/ ? :
434 0 0 if ($self->metadata->perl_version)
463 0 0 unless ($dat->{'abstract'})
466 0 0 if ($self->authors) { }
471 0 0 if ($self->contributors and @{$self->contributors;} > 0)
474 0 0 if (my $authority = $self->config->{'authority'})
477 0 0 if (my $metadata = $self->config->{'Metadata'})
482 0 0 if ($release_status ne "unstable")
487 0 0 unless (%$provides)
495 0 0 if ($git_info->{'bugtracker'})
498 0 0 if ($git_info->{'repository'})
501 0 0 if ($git_info->{'homepage'})
506 0 0 if ($cpanfile->features)
529 0 0 if (my $registered_url = `git config --get remote.origin.url`)
532 0 0 if (not $registered_url =~ m[^file://] and $registered_url =~ /(?:github|gitlab)\.com/) { }
542 0 0 unless ($self->config->{'no_github_issues'})
554 0 0 unless ($registered_url =~ m[^(?:https?|ssh|git)://])
570 0 0 unless ($registered_url =~ m[^file://])
588 0 0 unless $self->config->{'readme_from'}
597 0 0 if (Cwd::getcwd() ne $self->dir)
622 0 0 if ($profile eq 'ModuleBuild') { }
0 0 elsif ($profile eq 'ExtUtilsMakeMaker') { }
639 0 0 if ($markdown_maker eq "Pod::Markdown")
643 0 0 unless $self->config->{'markdown_maker_opts'}
644 0 0 unless ($parser->isa("Pod::Markdown"))
652 0 0 if (ref $self->badges eq "ARRAY" and scalar @{$self->badges;} > 0)
657 0 0 if (my $web_url = $git_info->{'repository'}{'web'})
662 0 0 if ($user_name and $repository_name)
666 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') { }
675 0 0 unless defined $image_uri_qs{'branch'}
676 0 0 if ($service_name =~ /^travis(?:-ci\.(?:org|com))$/) { }
0 0 elsif (not defined $image_uri_qs{'token'}) { }
715 0 0 unless ($workflow_file =~ /\.(?:yml|yaml)$/)
739 0 0 if ($Minilla::AUTO_INSTALL)
747 0 0 unless `git show-ref --head`
751 0 0 if (/<([^>]+)>/) { }
781 0 0 exists $conf->{'include_dotfiles'} ? :
790 0 0 if (my $br = $self->config->{'release'}{'branch'})
804 0 0 unless $_ =~ /\.(?:pm|pl|t)$/i
808 0 0 unless +(shift())->config->{'PL_files'}
819 0 0 if ($module_maker->can('validate')) { }