InstaWP_Rest_Api C

Total Complexity 119
Dependencies 10
Dependents 0
Total lines 854
Lines of code 564
Logical lines of code 281
Comment lines 156
Methods 25
Properties 4

Methods 25

Method Rating Maintainability Complexity Lines of code
set_config()
C
32 26 100
override_plugin_zip_while_doing_config()
A
43 13 47
validate_api_request()
A
46 11 38
is_instawp_route()
A
52 9 24
delete_temporary_login()
S
51 5 28
add_api_routes()
S
39 1 82
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
get_current_route()
S
63 5 9
mark_staging()
S
55 3 19
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