Branch Coverage

lib/Module/OTRS/CoreList.pm
Criterion Covered Total %
branch 19 26 73.0


line true false branch
18 0 1 unless $version
19 0 1 unless $version =~ / \A [0-9]+\.[0-9]\.(?:[0-9]+|x) \z /msx
30 161 15 unless $otrs_version =~ /$version_re/msx
32 15 0 if ($modules->{$otrs_version}{'core'}{$module} or $modules->{$otrs_version}{'cpan'}{$module} or $global->{'core'}{$module} or $global->{'cpan'}{$module})
46 1 1 unless $version
47 0 1 unless $version =~ / \A [0-9]+\.[0-9]\.(?:[0-9]+|x) \z /msx
57 175 1 unless $otrs_version =~ /$version_re/msx
60 0 1 unless $hashref
65 1 0 if ($version =~ /x/ or exists $modules->{$version})
76 1 2 unless $version and $version =~ / \A [0-9]+\.[0-9]\.(?:[0-9]+|x) \z /msx
87 351 1 unless $otrs_version =~ /$version_re/msx
90 0 1 unless $hashref
95 1 1 if ($version =~ /x/ or exists $modules->{$version})