Branch Coverage

lib/Module/Znuny/CoreList.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
18 0 8 unless $version_re
24 248 56 unless $znuny_version =~ /$version_re/msx
26 18 29 if ($modules->{$znuny_version}{'core'}{$module} or $modules->{$znuny_version}{'cpan'}{$module} or $global->{'core'}{$module} or $global->{'cpan'}{$module})
41 1 1 unless $version_re
47 37 1 unless $znuny_version =~ /$version_re/msx
50 0 1 unless $hashref
55 1 0 if ($version =~ /x/ or exists $modules->{$version})
68 1 2 unless $version_re
74 76 0 unless $znuny_version =~ /$version_re/msx
77 0 0 unless $hashref
82 0 2 if ($version =~ /x/ or exists $modules->{$version})
94 2 11 unless $version and $version =~ / \A [0-9]+\.[0-9]\.(?:[0-9]+|x) \z /msx