Branch Coverage

File:/home/mik/work/module/Tivoli/AccessManager/Admin/Context.pm
Coverage:93.6%

line%coveragebranch
33100TFunless $vector
36100TFif ($vector & $mask) == $mask
47100TFif ($day eq 'any')
61100TFif (@_ % 2)
72100TFunless (defined $opts{'local'})
73100TFunless (defined $opts{'password'} and $opts{'password'})
80100TFif defined $opts{$_}
83100TFif (defined $opts{'local'}) { }
100TFelsif ($hardway) { }
87100TFunless ($hardway == @options)
105100TFunless ($resp->isok)
120100TFif (@_ == 1) { }
100TFelsif (@_ % 2) { }
100TFelsif (@_) { }
137100TFif ($lifetime)
138100TFif ($lifetime =~ /^\d+$/) { }
100TFelsif ($lifetime eq 'unlimited') { }
100TFelsif ($lifetime eq 'unset') { }
15850TFif ($resp->isok)
160100TF$unset ? :
100TF$unlimited ? :
171100TFif (@_ == 1) { }
100TFelsif (@_ % 2) { }
100TFelsif (@_) { }
187100TFif ($seconds)
188100TFif ($seconds =~ /^\d+$/) { }
100TFelsif ($seconds eq 'disable') { }
100TFelsif ($seconds eq 'unset') { }
20950TFif ($resp->isok)
211100TF$unset ? :
100TF$disable ? :
223100TFif (@_ == 1) { }
100TFelsif (@_ % 2) { }
100TFelsif (@_) { }
239100TFif ($failures)
240100TFif ($failures =~ /^\d+$/) { }
100TFelsif ($failures eq 'unset') { }
25850TFif ($resp->isok)
260100TF$unset ? :
271100TFif (@_ == 1) { }
100TFelsif (@_ % 2) { }
100TFelsif (@_) { }
287100TFif ($seconds)
288100TFif ($seconds =~ /^\d+$/) { }
100TFelsif ($seconds eq 'unset') { }
30650TFif ($resp->isok)
308100TF$unset ? :
319100TFif (@_ == 1) { }
100TFelsif (@_ % 2) { }
100TFelsif (@_) { }
335100TFif ($chars)
336100TFif ($chars =~ /^\d+$/) { }
100TFelsif ($chars eq 'unset') { }
35250TFif ($resp->isok)
354100TF$unset ? :
365100TFif (@_ == 1) { }
100TFelsif (@_ % 2) { }
100TFelsif (@_) { }
381100TFif ($chars)
382100TFif ($chars =~ /^\d+$/) { }
100TFelsif ($chars eq 'unset') { }
39950TFif ($resp->isok)
401100TF$unset ? :
412100TFif (@_ == 1) { }
100TFelsif (@_ % 2) { }
100TFelsif (@_) { }
428100TFif ($chars)
429100TFif ($chars =~ /^\d+$/) { }
100TFelsif ($chars eq 'unset') { }
44750TFif ($resp->isok)
449100TF$unset ? :
460100TFif (@_ == 1) { }
100TFelsif (@_ % 2) { }
100TFelsif (@_) { }
476100TFif ($chars)
477100TFif ($chars =~ /^\d+$/) { }
100TFelsif ($chars eq 'unset') { }
49450TFif ($resp->isok)
496100TF$unset ? :
507100TFif (@_ == 1) { }
100TFelsif (@_ % 2) { }
100TFelsif (@_) { }
523100TFif ($session)
524100TFif ($session =~ /^\d+$/) { }
100TFelsif ($session eq 'displace') { }
100TFelsif ($session eq 'unlimited') { }
100TFelsif ($session eq 'unset') { }
55150TFif ($resp->isok)
555100TFif ($unset) { }
100TFelsif ($displace) { }
100TFelsif ($unlimited) { }
578100TFif (@_ == 1) { }
100TFelsif (@_ % 2) { }
100TFelsif (@_) { }
594100TFif ($allowed)
595100TFif ($allowed =~ /^\d+$/) { }
100TFelsif ($allowed eq 'unset') { }
61350TFif ($resp->isok)
615100TF$unset ? :
638100TFif (@_ % 2)
647100TFif ($opts{'days'})
650100TFif ($opts{'days'} ne 'unset') { }
651100TFif (ref $opts{'days'}) { }
655100TFif ($opts{'days'} > 127)
67850TFif ($resp->isok)
680100TFif ($list[-1]) { }
69150TF$list[3] ? :
70450TF$self->context_getuserreg($resp) ? :
71350TF$self->context_getcodeset ? :