Branch Coverage

File:/home/mik/work/module/Tivoli/AccessManager/Admin/ProtObject.pm
Coverage:97.7%

line%coveragebranch
26100TFunless (defined $cont and UNIVERSAL::isa($cont, 'Tivoli::AccessManager::Admin::Context'))
31100TFif (@_ % 2)
46100TFunless ($type =~ /^\d+$/ and $type < 18)
53100TFif ($self->protobj_exists($resp))
65100TFunless (ref $self)
67100TFunless (defined $pd and UNIVERSAL::isa($pd, 'Tivoli::AccessManager::Admin::Context'))
73100TFunless (defined $self)
80100TFif (@_ % 2)
88100TFunless ($$self{'name'})
92100TFunless ($$self{'name'})
98100TFif ($self->exist)
105100TFunless ($type =~ /^\d+$/ and $type < 18)
114100TFif ($resp->isok)
127100TFunless ($$self{'exist'})
134100TFif ($resp->isok)
14850TFif $resp->isok
158100TFif (defined $opts{'detach'})
160100TFunless $resp->isok
164100TFif (defined $opts{'attach'})
166100TFunless $resp->isok
183100TFif (defined $opts{'detach'})
185100TFunless $resp->isok
189100TFif (defined $opts{'attach'})
191100TFunless $resp->isok
219100TFif (@_ == 1) { }
100TFelsif (@_ % 2) { }
100TFelsif (@_) { }
232100TFunless ($$self{'exist'})
238100TFif ($type)
239100TFunless ($type =~ /^\d+$/ and $type < 18)
245100TFif ($resp->isok)
250100TFif $resp->isok
259100TFif (@_ == 1) { }
100TFelsif (@_ % 2) { }
100TFelsif (@_) { }
273100TFunless ($$self{'exist'})
279100TFif ($desc)
281100TFif ($resp->isok)
286100TFif $resp->isok
295100TFif (@_ == 1) { }
100TFelsif (@_ % 2) { }
100TFelsif (@_) { }
308100TFif (defined $att)
310100TFif ($resp->isok)
315100TFif $resp->isok
32650TFif $resp->isok
336100TFif (ref $class) { }
343100TFunless (defined $pd and UNIVERSAL::isa($pd, 'Tivoli::AccessManager::Admin::Context'))
348100TFif (@_ % 2)
354100TFif (defined $opts{'acl'}) { }
100TFelsif (defined $opts{'authzrule'}) { }
365100TFif $resp->isok
376100TFif (ref $$dead{$key}) { }
379100TFunless $resp->isok
384100TFunless $resp->isok
396100TFif (ref $dead) { }
399100TFunless $resp->isok
416100TFif (ref $$add{$key}) { }
419100TFunless $resp->isok
424100TFunless $resp->isok
440100TFif (@_ % 2)
448100TFif (defined $opts{$action})
450100TFunless $resp->isok
46150TFif $resp->isok