Branch Coverage

blib/lib/WebEditor/OldFeatures/AdminGroup.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
18 0 0 unless ($root->is_allowed([@needed_permissions]))
33 0 0 if ($useradmindb eq '') { }
35 0 0 if ($root->can('get_userdb_prop'))
41 0 0 unless ($u)
53 0 0 unless $key =~ /^useradmingroup_(.*)/
58 0 0 if (keys %new)
64 0 0 if ($c->project->features->{'wwwauth'})
66 0 0 if $useradmindb and $self->can('update_auth_files')
71 0 0 unless defined $useradminaction
73 0 0 if ($useradminaction eq 'addgroup') { }
0 0 elsif ($useradminaction eq 'updgroup') { }
0 0 elsif ($useradminaction eq 'delgroup') { }
0 0 elsif ($useradminaction eq 'editgroup') { }
74 0 0 if ($useradmingroup =~ /^\s*$/) { }
77 0 0 if ($u->add_group_definition($useradmingroup) == 1) { }
87 0 0 if ($u->delete_group_definition($useradmindelgroup) == 1) { }
94 0 0 if ($groupobj = $u->get_group_definition($useradmingroup)) { }
107 0 0 if ($useradmingroup)
116 0 0 $useradmindb eq 'wwwuser' ? :
117 0 0 $useradmindb eq 'wwwuser' ? :