Branch Coverage

blib/lib/Umlmgr/Uml.pm
Criterion Covered Total %
branch 6 54 11.1


line true false branch
20 1 2 unless $$self{'config'}
35 0 2 unless $$self{'config'}->val('uml', $param)
38 1 0 unless ($$self{'config'}->val('uml', 'umid'))
41 1 0 unless ($$self{'config'}->val('uml', 'con0'))
44 1 0 unless ($$self{'config'}->val('uml', 'con'))
64 0 0 if ($> == 0 and not $$self{'user'})
70 0 0 unless defined $pid
72 0 0 if ($pid) { }
75 0 0 if ($$self{'user'})
76 0 0 unless Umlmgr::Utils::become_user($$self{'user'})
96 0 0 if ($> == 0 and not $$self{'user'})
102 0 0 unless (defined $pid)
103 0 0 if ($pid) { }
106 0 0 if ($$self{'user'})
107 0 0 unless Umlmgr::Utils::become_user($$self{'user'})
118 0 0 if ($> == 0 and not $$self{'user'})
124 0 0 unless defined $pid
125 0 0 if ($pid) { }
129 0 0 if ($$self{'user'})
130 0 0 unless Umlmgr::Utils::become_user($$self{'user'})
141 0 0 if ($> == 0 and not $$self{'user'})
146 0 0 unless defined $pid
147 0 0 if ($pid) { }
151 0 0 if ($$self{'user'})
152 0 0 unless Umlmgr::Utils::become_user($$self{'user'})
156 0 0 if (open my $hd, join(' ', map({quotemeta $_;} 'uml_mconsole', $self->id, 'config', $console)) . ' |')
165 0 0 if ($pts) { }