Branch Coverage

/root/.cpan/build/App-scriptdist-1.006-0/blib/script/scriptdist
Criterion Covered Total %
branch 16 32 50.0


line true false branch
170 0 1 defined $ENV{'SCRIPTDIST_DEBUG'} ? :
171 0 1 if ($^O =~ /MSWin32/) { }
0 1 elsif ($^O =~ /Mac/) { }
182 0 41 if $Defaults{'quiet'}
193 0 1 unless $Defaults{'home'} ne ""
203 0 1 if (eval "use $class; 1") { }
222 0 1 if (eval "use $class; 1") { }
237 0 1 if -d $Defaults{'directory'}
245 0 2 unless mkdir $dir, 493
252 1 0 if (-d $Defaults{'rc_dir'})
265 0 2 if (@path)
267 0 0 unless -d $ARGV[0]
283 1 7 if (-e $file)
286 0 7 unless (open my $fh, ">:utf8", $file)
300 1 0 if (-e $Defaults{'path'}) { }
313 0 1 unless chdir $Defaults{'directory'}