InstaWP_Rest_Api D

Total Complexity 131
Dependencies 10
Dependents 0
Total lines 951
Lines of code 634
Logical lines of code 308
Comment lines 166
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
set_config()
C
31 29 108
override_plugin_zip_while_doing_config()
A
43 13 47
validate_api_request()
A
46 11 38
is_instawp_route()
A
52 9 24
mark_parent()
S
49 5 34
add_api_routes()
S
38 1 92
delete_temporary_login()
S
51 5 28
auto_login()
S
47 4 36
temporary_login()
S
48 4 34
move_files_folders()
S
57 5 16
create_update_task()
S
54 4 20
activity_logs()
S
57 4 16
get_current_route()
S
63 5 9
mark_staging()
S
54 3 21
get_management_options()
S
57 3 16
rest_access()
S
69 3 7
send_response()
S
67 3 7
is_enabled()
S
68 3 6
filter_params()
S
66 3 8
refresh_staging_sites_list()
S
63 2 11
disconnect()
S
62 2 11
handle_heartbeat()
S
67 2 8
site_usage()
S
67 2 8
endpoints_from_restriction_callback()
S
70 2 6
perform_actions()
S
73 2 5
__construct()
S
62 1 10
throw_error()
S
67 1 8