Code Analysis: BrenWP Client Guard 1.7.1

Most Complex Classes

Class Rating Complexity
BrenWP_CSM_Restrictions
D
350
BrenWP_CSM
D
259
BrenWP_CSM_Safe_Mode
A
62
BrenWP_CSM_Admin
S
1

Most Complex Functions

Function Rating Complexity
BrenWP_CSM::normalize_options()
D
68
BrenWP_CSM::log_event()
C
28
BrenWP_CSM::maybe_harden_storage()
C
27
BrenWP_CSM::privacy_exporter_callback()
C
23
BrenWP_CSM_Restrictions::get_effective_restrictions_options()
B
23
BrenWP_CSM_Restrictions::hide_menus()
B
23
BrenWP_CSM_Restrictions::block_screens()
B
20
BrenWP_CSM::maybe_purge_activity_log()
B
19
BrenWP_CSM_Restrictions::filter_caps()
B
17
BrenWP_CSM_Restrictions::maybe_block_profile_changes()
B
19
BrenWP_CSM_Restrictions::maybe_block_rest_api()
B
18
BrenWP_CSM_Restrictions::maybe_show_restricted_banner()
B
16