Condition Coverage

blib/lib/SPOPS/Secure.pm
Criterion Covered Total %
condition 0 77 0.0


and 2 conditions

line l !l condition
354 0 0 ref $init and scalar keys %{$init;}
795 0 0 ref $level eq 'HASH' and scalar keys %{$level;}

and 3 conditions

line !l l&&!r l&&r condition
272 0 0 0 $$p{'user'} and $$p{'group'}
438 0 0 0 $scope eq 'u' and ref $user
635 0 0 0 $obj and $$obj{'security_level'} == $level
694 0 0 0 $$p{'scope'} ne 'w' and $$p{'scope_id'} == 1
777 0 0 0 ref $user and $item->is_superuser($$user{'user_id'})

or 2 conditions

line l !l condition
209 0 0 $$sec_info{'g'} ||= {}
255 0 0 $sec_listing || \%{$SPOPS::Secure::EMPTY;}
289 0 0 $item->global_group_current || []
484 0 0 $id ||= ''
624 0 0 $$p{'scope_id'} ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
124 0 0 0 ref $item || $item
244 0 0 0 $$p{'security_object_class'} || $item->global_security_object_class
272 0 0 0 $$p{'user'} || $$p{'group'}
304 0 0 0 $user or scalar @{$group_list;} > 0
459 0 0 0 ref $class || $class
463 0 0 0 $$level{'w'} ||= $INITIAL_SECURITY_DEFAULT
503 0 0 0 $$p{'security_object_class'} || $item->global_security_object_class
506 0 0 0 $$p{'level'} || $$p{'security_level'}
530 0 0 0 $$p{'scope'} eq 'g' or $$p{'scope'} eq 'u'
592 0 0 0 $scope eq 'g' or $scope eq 'u'
618 0 0 0 $$p{'level'} || $$p{'security_level'}
629 0 0 0 $$p{'security_object_class'} || $item->global_security_object_class
665 0 0 0 $$p{'security_object_class'} || $item->global_security_object_class
668 0 0 0 $$p{'level'} || $$p{'security_level'}
706 0 0 0 $$p{'security_object_class'} || $item->global_security_object_class
773 0 0 0 $user or $group_list