Branch Coverage

lib/Module/Znuny/CoreList.pm
Criterion Covered Total %
branch 24 26 92.3


line true false branch
18 3 14 unless $version_re
20 1 13 unless $module
26 417 77 unless $znuny_version =~ /$version_re/msx
28 19 48 if ($modules->{$znuny_version}{'core'}{$module} or $modules->{$znuny_version}{'cpan'}{$module} or $global->{'core'}{$module} or $global->{'cpan'}{$module})
43 2 3 unless $version_re
49 95 19 unless $znuny_version =~ /$version_re/
52 0 19 unless $hashref
57 2 1 if ($version =~ /x/ or exists $modules->{$version})
70 2 3 unless $version_re
76 95 19 unless $znuny_version =~ /$version_re/
79 0 19 unless $hashref
84 2 1 if ($version =~ /x/ or exists $modules->{$version})
96 7 20 unless $version and $version =~ / \A [0-9]+\.[0-9]\.(?:[0-9]+|x) \z /msx