Branch Coverage

blib/lib/OPM/Maker/Command/depcheck.pm
Criterion Covered Total %
branch 25 36 69.4


line true false branch
39 1 1 unless $sopm
42 0 1 unless ($opt->{'home'})
46 0 0 unless -d $path
52 1 0 if (not -d $opt->{'home'})
63 4 0 unless ($ENV{'OPM_UNSECURE'})
74 0 4 if ($ENV{'OPM_MAX_SIZE'})
78 0 4 if ($size > $max_size)
82 0 4 if ($size > 10000000)
109 1 2 if ($result and $opt->{'local_sopm'} and $type eq "PackageRequired")
111 1 0 if (-f $path)
121 0 1 if ($local_name eq $name and "version"->new($local_version) > "version"->new($version))
127 3 5 if $result
130 1 3 if (not @missing) { }
143 4 4 if ($type eq 'ModuleRequired') { }
4 0 elsif ($type eq 'PackageRequired') { }
147 1 3 unless eval { do { require $path; $name->VERSION($version) } }
169 1 3 unless $installed_version
174 1 2 if $installed < $required