Jetpack_Protect S

Total Complexity 37
Dependencies 22
Dependents 0
Total lines 571
Lines of code 362
Logical lines of code 124
Comment lines 135
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
register_rest_endpoints()
A
35 1 134
admin_bar()
S
57 3 17
__construct()
S
46 1 43
admin_page_init()
S
58 2 16
api_ignore_threat()
S
63 3 10
api_fix_threats_status()
S
63 3 10
api_fix_threats()
S
63 3 10
initial_state()
S
51 1 26
enqueue_admin_scripts()
S
59 1 15
api_toggle_waf()
S
67 2 8
api_scan()
S
68 2 7
api_check_credentials()
S
68 2 7
api_clear_scan_cache()
S
68 2 7
get_waf_seen_status()
S
78 1 3
api_get_waf()
S
66 1 9
api_check_plan()
S
75 1 4
api_get_status()
S
74 1 4
init()
S
65 1 9
protect_filter_available_modules()
S
79 1 3
plugin_deactivation()
S
71 1 6
plugin_settings_page()
S
83 1 5
render_initial_state()
S
78 1 3
enqueue_admin_styles()
S
78 1 3
set_waf_seen_status()
S
78 1 3