Code Analysis: Airstory 1.1.8

Function Rating Maintainability Complexity Lines of code
get_support_details()
C
30 27 101
render_tools_page()
A
33 8 137
handle_webhook()
A
43 10 52
save_profile_settings()
A
48 11 30
sideload_all_images()
A
42 9 52
sideload_single_image()
A
48 7 34
render_profile_settings()
S
42 5 59
check_compatibility()
S
51 6 27
get_body_contents()
S
51 5 25
get_token()
S
53 5 22
create_document()
S
51 4 28
register_connection()
S
52 4 24
retrieve_original_media()
S
52 4 24
WP_Async_Task::launch_on_shutdown()
S
55 4 19
get_available_blogs()
S
56 4 19
get_webhook_uri()
S
57 4 17
set_connected_blogs()
S
57 4 16
WP_Async_Task::__construct()
S
60 4 12
disconnect_all_users()
S
53 3 24
update_all_connections()
S
53 3 24
get_cipher_algorithm()
S
54 3 23
set_token()
S
54 3 22
format_libxml_error()
S
55 3 20
update_document()
S
57 3 18
render_status_icon()
S
57 3 18
Airstory\API::put_target()
S
56 3 18
Airstory\API::post_target()
S
56 3 18
get_user_profile()
S
58 3 16
update_connection()
S
58 3 15
verify_https_support()
S
59 3 15
WP_Async_Task::handle_postback()
S
63 4 10
WP_Async_Task::launch()
S
59 3 14
Airstory\API::decode_json_response()
S
60 3 14
set_attachment_author()
S
63 3 11
check_for_missing_requirements()
S
63 3 11
WP_Async_Task::verify_async_nonce()
S
61 3 11
get_current_draft()
S
52 2 25
show_user_connection_notice()
S
56 2 21
Airstory\API::make_authenticated_request()
S
56 2 18
remove_connection()
S
62 3 10
override_cors_headers()
S
62 2 12
Airstory\API::delete_target()
S
63 2 11
register_tools_script()
S
57 1 19
notify_user_of_missing_requirements()
S
60 1 18
get_active_site_ids()
S
59 1 17
Airstory\API::get_credentials()
S
70 2 6
WP_Async_Task::get_nonce_action()
S
66 2 8
get_iv()
S
74 2 4
trigger_connection_refresh()
S
69 2 7
get_user_data()
S
71 2 5
wpspamshield_whitelist_webhook()
S
70 2 6
Airstory\API::set_token()
S
69 2 7
Airstory\API::get_document()
S
65 1 11
WP_Async_Task::prepare_data()
S
100 1 0
Airstory\API::get_project()
S
67 1 10
init_async_tasks()
S
83 1 3
set_user_data()
S
69 1 6
get_target()
S
67 1 8
WP_Async_Task::create_async_nonce()
S
71 1 5
Airstory\API::get_user()
S
80 1 3
strip_wrapping_div()
S
75 1 4
has_connection()
S
79 1 3
Airstory\API::get_document_content()
S
66 1 10
Airstory\AsyncTasks\UpdateAllConnections::run_action()
S
75 1 4
clear_token()
S
78 1 3
WP_Async_Task::run_action()
S
100 1 0
Airstory\AsyncTasks\UpdateAllConnections::prepare_data()
S
82 1 3
delete_airstory_data()
S
73 1 5
register_menu_page()
S
65 1 10
register_webhook_endpoint()
S
68 1 8
profile_error_save_token()
S
72 1 6