Branch Coverage

blib/lib/Dist/Zilla.pm
Criterion Covered Total %
branch 42 64 65.6


line true false branch
95 0 1 unless defined(my $this_name = $plugin->provide_name)
97 0 1 if defined $name
102 0 1 unless defined $name
113 0 3 unless defined(my $this_version = $plugin->provide_version)
115 0 3 if defined $version
120 0 151 unless defined $version
164 7 143 if $self->_release_status_from_env
172 2 141 if $self->_override_is_trial
175 0 3 unless defined(my $this_status = $plugin->provide_release_status)
177 1 2 if defined $status
195 1 187 if $ENV{'RELEASE_STATUS'}
196 6 181 $ENV{'TRIAL'} ? :
346 0 1 unless defined $this_license
348 0 1 if defined $provided_license
354 1 149 if defined $provided_license
356 149 0 if ($license_class) { }
370 0 0 if (@guess != 1)
383 0 149 unless (eval {
506 30 22 unless $file == $files[$i]
554 14 42 $self->release_status =~ /\A(?:testing|unstable)\z/u ? :
620 147 1 if (my $spdx = $self->license->spdx_expression)
662 265 1762 if $plugin
699 0 233 unless my $plugin = $self->plugin_named($finder_name)
702 0 233 unless $plugin->does("Dist::Zilla::Role::FileFinder")
715 0 645 if (my $seen = $files_named{$filename}) { }
717 0 0 if @{$seen;} == 2
723 147 0 unless @dupes
744 456 190 unless -e $to_dir
745 0 646 unless -d $to_dir
747 0 646 if -e $to
750 0 646 unless chmod $file->mode, "$to"
812 3 158 if $self->_local_stashes->{$name}