Branch Coverage

blib/lib/OPM/Installer/Utils/TS.pm
Criterion Covered Total %
branch 20 26 76.9


line true false branch
28 0 4 unless $self->db
43 1 3 unless %info
45 0 3 unless $param{'version'}
52 2 1 if $is_installed
62 6 3 $i_parts[$_] && $i_parts[$_] =~ /\A[0-9]+\z/ ? :
63 6 3 $r_parts[$_] && $r_parts[$_] =~ /\A[0-9]+\z/ ? :
65 2 1 if $installed >= $requested
75 0 1 unless eval { do { require Kernel::System::ObjectManager; $Kernel::OM = "Kernel::System::ObjectManager"->new; $object = $Kernel::OM->Get("Kernel::System::DB") } }
91 0 1 unless eval { do { require Kernel::System::ObjectManager; $Kernel::OM = "Kernel::System::ObjectManager"->new; $manager = $Kernel::OM->Get("Kernel::System::Package") } }
120 0 2 if (@_ % 2 != 0)
125 1 1 unless (exists $args{'path'})
129 0 1 if defined $cfg->{'path'}
136 1 1 if ($ENV{'OPMINSTALLERTEST'}) { }