line |
true |
false |
branch |
93
|
0 |
0 |
ref $item ? : |
|
0 |
0 |
if $log->is_debug |
102
|
0 |
0 |
if $$p{'is_add'} |
107
|
0 |
0 |
if $item->no_security |
118
|
0 |
0 |
unless ($level) |
125
|
0 |
0 |
ref $item ? : |
126
|
0 |
0 |
unless ($id) |
127
|
0 |
0 |
if $log->is_info |
132
|
0 |
0 |
if $log->is_debug |
141
|
0 |
0 |
ref $item ? : |
147
|
0 |
0 |
if $log->is_info |
153
|
0 |
0 |
if ($level < $$p{'required'}) |
164
|
0 |
0 |
if $log->is_info |
181
|
0 |
0 |
unless ($sec_info) |
182
|
0 |
0 |
if $log->is_info |
184
|
0 |
0 |
if ref $$p{'user'} eq 'ARRAY' |
195
|
0 |
0 |
if $log->is_info |
199
|
0 |
0 |
if (my $user_level = $$sec_info{'u'}) |
200
|
0 |
0 |
if $log->is_info |
212
|
0 |
0 |
unless $group_level |
213
|
0 |
0 |
$group_level > $group_max ? : |
214
|
0 |
0 |
if $log->is_info |
217
|
0 |
0 |
if $group_max |
220
|
0 |
0 |
if $log->is_info |
234
|
0 |
0 |
if $log->is_info |
238
|
0 |
0 |
if (my $security_info = $item->_check_superuser($user, $group_list)) |
239
|
0 |
0 |
if $log->is_info |
246
|
0 |
0 |
if $log->is_info |
265
|
0 |
0 |
if $log->is_info |
272
|
0 |
0 |
if ($$p{'user'} and $$p{'group'}) { } |
|
0 |
0 |
elsif (not $$p{'user'} || $$p{'group'}) { } |
|
0 |
0 |
elsif ($$p{'user'}) { } |
|
0 |
0 |
elsif ($$p{'group'}) { } |
273
|
0 |
0 |
if $log->is_info |
277
|
0 |
0 |
if $@ |
279
|
0 |
0 |
ref $$p{'group'} eq 'ARRAY' ? : |
286
|
0 |
0 |
if $log->is_info |
304
|
0 |
0 |
unless ($user or scalar @{$group_list;} > 0) |
305
|
0 |
0 |
if $log->is_info |
316
|
0 |
0 |
if $log->is_info |
320
|
0 |
0 |
if $@ |
326
|
0 |
0 |
if $log->is_info |
328
|
0 |
0 |
ref $$p{'group'} eq 'ARRAY' ? : |
346
|
0 |
0 |
if $log->is_info |
354
|
0 |
0 |
unless ref $init and scalar keys %{$init;} |
384
|
0 |
0 |
if (ref $$init{'code'} eq 'ARRAY') { } |
386
|
0 |
0 |
if $log->is_info |
392
|
0 |
0 |
if $log->is_info |
408
|
0 |
0 |
unless $todo |
409
|
0 |
0 |
if $log->is_info |
421
|
0 |
0 |
if (ref $todo eq 'HASH') { } |
438
|
0 |
0 |
if ($scope eq 'w') { } |
|
0 |
0 |
elsif ($scope eq 'u' and ref $user) { } |
|
0 |
0 |
elsif ($scope eq 'g') { } |
450
|
0 |
0 |
if $log->is_info |
469
|
0 |
0 |
if $log->is_info |
482
|
0 |
0 |
unless ref $$level{$scope} eq 'HASH' |
491
|
0 |
0 |
if $log->is_info |
510
|
0 |
0 |
unless ($level) |
516
|
0 |
0 |
unless ($$p{'scope'}) |
523
|
0 |
0 |
if $log->is_info |
529
|
0 |
0 |
unless (ref $$p{'scope'}) |
530
|
0 |
0 |
if ($$p{'scope'} eq 'w') { } |
|
0 |
0 |
elsif ($$p{'scope'} eq 'g' or $$p{'scope'} eq 'u') { } |
544
|
0 |
0 |
if (ref $level eq 'HASH') |
565
|
0 |
0 |
if (ref $$p{'scope'} ne 'ARRAY') |
573
|
0 |
0 |
if (ref $level ne 'HASH') |
592
|
0 |
0 |
if ($scope eq 'w') { } |
|
0 |
0 |
elsif ($scope eq 'g' or $scope eq 'u') { } |
625
|
0 |
0 |
if $log->is_info |
635
|
0 |
0 |
if $obj and $$obj{'security_level'} == $level |
637
|
0 |
0 |
unless ($obj) |
638
|
0 |
0 |
if $log->is_info |
661
|
0 |
0 |
if $log->is_info |
675
|
0 |
0 |
unless scalar keys %{$level;} |
680
|
0 |
0 |
if $log->is_info |
694
|
0 |
0 |
if ($$p{'scope'} ne 'w' and $$p{'scope_id'} == 1) |
702
|
0 |
0 |
if $log->is_info |
713
|
0 |
0 |
if ($@) |
717
|
0 |
0 |
unless ($obj) |
735
|
0 |
0 |
if $log->is_info |
742
|
0 |
0 |
if $log->is_info |
773
|
0 |
0 |
unless $user or $group_list |
777
|
0 |
0 |
if (ref $user and $item->is_superuser($$user{'user_id'})) |
778
|
0 |
0 |
if $log->is_info |
782
|
0 |
0 |
if (ref $group_list eq 'ARRAY') |
783
|
0 |
0 |
if ($item->is_supergroup(map({$$_{'group_id'};} @{$group_list;}))) |
795
|
0 |
0 |
unless ref $level eq 'HASH' and scalar keys %{$level;} |