Branch Coverage

blib/lib/ExtUtils/ModuleMaker.pm
Criterion Covered Total %
branch 52 64 81.2


line true false branch
27 2 89 ref $class ? :
40 2 89 if @arglist % 2
54 89 0 if (defined $self->{'mmkr_dir_ref'}{'flag'})
60 2 87 if (-f $pers_file)
96 80 0 unless $self->{'INTERACTIVE'}
106 1 79 if (defined $self->{'ALT_BUILD'})
108 0 1 unless ($alt_build =~ /^ExtUtils::ModuleMaker::/)
112 0 1 if ($@) { }
131 74 1 if $self->{'INCLUDE_SCRIPTS_DIRECTORY'}
136 74 1 if $self->{'INCLUDE_LICENSE'}
139 74 1 if $self->{'INCLUDE_TODO'}
142 71 4 unless $self->{'CHANGES_IN_POD'}
146 1 74 if $self->{'INCLUDE_MANIFEST_SKIP'}
149 1 74 if $self->{'INCLUDE_POD_COVERAGE_TEST'}
152 1 74 if $self->{'INCLUDE_POD_TEST'}
154 72 3 if ($self->{'BUILD_SYSTEM'} eq 'ExtUtils::MakeMaker') { }
159 2 1 if ($self->{'BUILD_SYSTEM'} eq 'Module::Build and proxy Makefile.PL' or $self->{'BUILD_SYSTEM'} eq 'Module::Build and Proxy')
180 73 2 if (not $self->{'EXTRA_MODULES_SINGLE_TEST_FILE'}) { }
189 4 78 if ($self->{'TEST_NAME_DERIVED_FROM_MODULE_NAME'}) { }
200 78 4 if (defined $self->{'TEST_NUMBER_FORMAT'}) { }
215 1 1 if (defined $self->{'TEST_NUMBER_FORMAT'}) { }
229 1 74 if $self->{'SAVE_AS_DEFAULTS'}
239 2 41 if $keys_to_be_shown{$k}
251 41 2 unless $keys_not_shown{$k}
284 62 4 unless $k eq 'ABSTRACT' or $k eq 'SAVE_AS_DEFAULTS'
324 2 0 unless (-d $full_dir)
326 0 2 if ($@)
330 0 2 if (-f $pers_full)
332 0 0 unless rename $pers_full, "$pers_full.$modtime"
336 0 2 unless open my $fh, '>', $pers_full
338 0 2 unless print $fh $output
339 0 2 unless close $fh