Code Analysis: IA Magic Galleries 1.2.2

Function Rating Maintainability Complexity Lines of code
IAMG_App_Loader::shortcode_render()
D
27
33 147
IAMG\IAMG_ImageHandler::get_for_library()
C
32 29 101
IAMG_ComDispatcher::make_gallery()
C
38 24 67
IAMG_ComDispatcher::save()
B
36 20 86
IAMG_posttype::update_post()
B
39 20 61
IAMG_Activation::first_register()
B
41 19 55
IAMG\IAMG_Client::update_app_script()
B
41 17 52
IAMG\IAMG_Client::send_request()
B
39 16 62
IAMG\IAMG_AppSettingsBuilder::setup_load_json()
A
37 14 74
IAMG\IAMG_ImageHandler::convert_thumbnails_to_url()
A
44 13 43
IAMG\IAMG_ImageHandler::get_images_from_date()
A
48 13 34
IAMG_posttype::render_post()
A
43 12 48
IAMG_posttype::add_post()
A
43 12 46
IAMG\IAMG_ImageHandler::get_videos()
A
39 10 68
IAMG\IAMG_Client::get_gallery()
A
48 12 30
IAMG_ComDispatcher::_get_param()
A
51 12 28
IAMG\IAMG_ImageHandler::convert_video_info_for_gallery()
A
43 10 49
IAMG\IAMG_ImageHandler::build_image_index()
A
45 10 41
IAMG\IAMG_Client::register_client()
A
44 9 44
IAMG\IAMG_ImageHandler::process_video_info()
A
45 9 43
IAMG\IAMG_ImageHandler::get_video_thumbnail()
A
50 10 28
IAMG\IAMG_ImageHandler::get_images_from_album()
A
50 10 28
IAMG_ComDispatcher::__construct()
A
50 10 26
IAMG_Activation::load_plugin()
A
46 9 41
IAMG\IAMG_Client::is_local_server()
A
50 10 25
IAMG\IAMG_ImageHandler::get_for_gallery()
A
47 9 39
IAMG\IAMG_ImageHandler::add_external_video()
A
46 9 39
IAMG_ComDispatcher::dispatcher()
A
56 10 17
IAMG\IAMG_ImageHandler::get_images_range()
A
49 9 31
IAMG\IAMG_ImageHandler::get_images()
A
41 7 60
IAMG_ComDispatcher::video_info()
A
51 9 27
IAMG_ComDispatcher::reload_resources()
A
51 9 25
IAMG_posttype::get_post_thumbnail()
A
51 8 27
IAMG\IAMG_Client::analyze_curl_error()
A
52 8 25
IAMG\IAMG_Client::generate_video_thumbnail()
A
52 8 23
IAMG_posttype::get_post_presentation()
A
48 7 34
IAMG_posttype::gallery_custom_column_content()
A
47 7 34
IAMG_Activation::verify_wp_server()
A
49 7 31
IAMG\IAMG_ImageHandler::remove_external_video()
A
49 7 31
IAMG\IAMG_ImageHandler::add_thumbnail_and_sizes()
S
51 7 27
IAMG\IAMG_Client::get_video_info()
S
53 7 24
IAMG_posttype::get_post()
S
53 7 22
IAMG_posttype::remove_pageinfo_from_post()
S
55 7 20
IAMG_Activation::uninstall()
S
48 6 33
IAMG_posttype::update_block_w_id()
S
57 7 16
IAMG\IAMG_Client::decrypt()
S
50 6 28
IAMG_posttype::update_containing_pages()
S
50 6 28
IAMG\IAMG_ImageHandler::get_image_sizes()
S
50 6 28
IAMG\IAMG_ImageHandler::clear_saved_thumbnails()
S
50 6 27
IAMG\IAMG_Client::decrypt_chunks()
S
52 6 25
IAMG_ComDispatcher::videos()
S
51 6 25
IAMG_ComDispatcher::_cast_to_same_type()
S
55 6 21
IAMG\IAMG_ImageHandler::get_album_names()
S
54 6 20
IAMG\IAMG_Client::record_saved()
S
56 6 19
IAMG_posttype::include_clipboard_script()
S
48 4 48
IAMG\IAMG_ImageHandler::save_base64_image()
S
48 5 32
IAMG_ComDispatcher::_verify_nonce()
S
58 6 15
IAMG_Activation::run_after_send_json()
S
51 5 28
IAMG_posttype::create_post_type_iamg()
S
44 4 43
IAMG\IAMG_Client::encrypt_chinks()
S
55 5 19
IAMG_App_Loader::enqueue_styles()
S
51 4 34
IAMG\IAMG_Client::get_app()
S
57 5 17
IAMG_posttype::iamg_include()
S
57 5 17
IAMG\IAMG_Client::get_resource()
S
57 5 17
IAMG_ComDispatcher::settings()
S
56 5 17
IAMG_ComDispatcher::_recordMediaChange()
S
58 5 16
IAMG\IAMG_Client::encrypt()
S
59 5 15
IAMG_posttype::get_all_iamg_posts()
S
49 4 30
IAMG\IAMG_AdminNotice::display_debug_messages()
S
59 5 15
IAMG\IAMG_Client::process_other_resources()
S
60 5 13
IAMG_Block::load_iamg_block_files()
S
43 2 57
IAMG\IAMG_ImageHandler::get_image_sizes_by_id()
S
54 4 21
IAMG_App_Loader::__construct()
S
55 4 19
IAMG\IAMG_Client::set_gallery_to_post()
S
56 4 17
IAMG\IAMG_ImageHandler::__construct()
S
65 5 9
IAMG\IAMG_ImageHandler::filter_duplicates_by_crc()
S
59 4 15
IAMG_ComDispatcher::_attachment_metadata_monitor_filter()
S
65 5 8
IAMG_ComDispatcher::is_allowed()
S
70 5 6
IAMG\IAMG_Client::get_editor_app()
S
59 4 14
IAMG\IAMG_Client::check_key()
S
59 4 13
IAMG_ComDispatcher::load_app()
S
60 4 12
IAMG_posttype::get_gallery_count()
S
61 4 12
IAMG\IAMG_Client::get_key()
S
61 4 12
IAMG\IAMG_ImageHandler::is_video_url()
S
62 4 11
IAMG\IAMG_ImageHandler::convert_image_info_for_gallery()
S
51 3 26
IAMG\IAMG_ImageHandler::process_date()
S
62 4 11
IAMG_App_Loader::load_iamg_editor_files()
S
47 2 38
IAMG_ComDispatcher::images()
S
57 3 16
IAMG_ComDispatcher::iamg_posts()
S
58 3 16
IAMG_Activation::get_caller_ip()
S
59 3 14
IAMG_posttype::get_post_info()
S
60 3 13
IAMG\IAMG_Client::rebuild_gallery()
S
62 3 12
IAMG_ComDispatcher::builder_presentation()
S
60 3 12
IAMG\IAMG_AdminNotice::dump_debug_messaged()
S
62 3 12
IAMG\IAMG_Client::site_url()
S
61 3 11
IAMG_Activation::__construct()
S
62 3 11
IAMG_App_Loader::enqueue_script_for_caching()
S
53 2 23
IAMG_App_Loader::enqueue_script()
S
53 2 22
IAMG\IAMG_AdminNotice::echo_notice()
S
56 2 21
IAMG_Submenue::help_page_callback()
S
58 2 17
IAMG_posttype::add_admin_styles()
S
59 2 17
IAMG_Submenue::overview_page_callback()
S
58 2 17
IAMG_App_Loader::toColor()
S
64 3 10
IAMG\IAMG_ImageHandler::update_external_video()
S
65 3 9
IAMG\IAMG_AppSettingsBuilder::get_app_link_internal()
S
63 3 9
IAMG\IAMG_Client::get_app_resources()
S
64 3 10
IAMG\IAMG_AppSettingsBuilder::get_editor_resources()
S
65 3 9
IAMG_Block::script_selector()
S
68 3 7
IAMG\IAMG_Client::unregister()
S
67 3 7
IAMG_posttype::to_style_string()
S
64 3 10
IAMG_App_Loader::script_caching()
S
67 3 7
IAMG\IAMG_AppSettingsBuilder::get_resources()
S
65 3 9
IAMG_posttype::__construct()
S
59 2 13
IAMG\IAMG_Client::get_resource_versions()
S
60 2 12
IAMG\IAMG_Nonce::setNonce()
S
60 2 12
IAMG\IAMG_ImageHandler::sanitize()
S
63 2 11
IAMG_Submenue::register_sub_menu()
S
59 1 18
IAMG\IAMG_AdminNotice::display_test_notice()
S
100 1 16
IAMG_Submenue::create_editor_environment()
S
60 1 16
IAMG\IAMG_Client::get_pre_app()
S
75 2 4
IAMG_posttype::disable_autosave_for_iamg()
S
71 2 6
IAMG\IAMG_AppSettingsBuilder::get_client()
S
72 2 6
IAMG\IAMG_Client::process_secure_presentation()
S
66 2 8
IAMG\IAMG_Client::get_gallery_from_temp_storage()
S
69 2 7
IAMG\IAMG_Client::is_server_connected_to_internet()
S
64 2 10
IAMG_LibHandler::checkExpiringLib()
S
66 2 8
IAMG\IAMG_Client::unregister_local()
S
72 2 6
IAMG_posttype::iamgInstallRefresh()
S
69 2 7
IAMG_ComDispatcher::_get_setting_option_name()
S
69 2 6
IAMG_LibHandler::activate()
S
70 2 6
IAMG_App_Loader::load_IAMG_Scripts()
S
65 2 9
IAMG_ComDispatcher::gallery_info()
S
66 2 8
IAMG\IAMG_AdminNotice::add_debug_message()
S
67 2 8
IAMG_App_Loader::load_post_template()
S
67 2 8
IAMG\IAMG_Client::get_admin_presentation()
S
71 2 6
IAMG\IAMG_Client::endpoint()
S
74 2 4
IAMG_LibHandler::getClient()
S
72 2 6
IAMG_posttype::get_post_params()
S
68 2 7
IAMG_posttype::iamg_redirect_overview()
S
68 2 7
IAMG_App_Loader::script_selector()
S
69 2 7
IAMG\IAMG_Client::get_post_app()
S
71 2 7
IAMG_posttype::iamg_main_init()
S
76 2 5
IAMG_ComDispatcher::image_albums()
S
66 2 8
IAMG\IAMG_Client::save_resource()
S
68 2 7
IAMG_App_Loader::load_IAMG_Scripts_Admin()
S
69 2 7
IAMG_App_Loader::get_client()
S
72 2 6
IAMG_posttype::get_attachment_by_title()
S
66 2 8
IAMG\IAMG_ImageHandler::format_external_thumbnails_gallery()
S
60 1 14
IAMG\IAMG_Client::get_versions()
S
70 1 6
IAMG_Activation::iamg_plugin_activate()
S
71 1 6
IAMG_App_Loader::is_valid_hex_color()
S
79 1 3
IAMG_LibHandler::__construct()
S
70 1 6
IAMG_posttype::clear_post_history()
S
79 1 3
IAMG_Block::__construct()
S
79 1 3
IAMG_Submenue::__construct()
S
72 1 5
IAMG_ComDispatcher::_save_post_monitor_filter()
S
80 1 3
IAMG_App_Loader::enqueue_parent_style_scrip()
S
67 1 9
IAMG\IAMG_Client::__construct()
S
72 1 5
IAMG_posttype::remove_custom_fields_meta_box()
S
79 1 3
IAMG\IAMG_ImageHandler::get_external_videos()
S
75 1 4
IAMG_Activation::update_app()
S
82 1 3
IAMG\IAMG_Client::save_key()
S
79 1 3
IAMG_ComDispatcher::__call()
S
82 1 3
IAMG\IAMG_AppSettingsBuilder::get_app_link()
S
81 1 3
IAMG\IAMG_Client::set_basename()
S
66 1 8
IAMG\IAMG_Client::save_gallery_in_temp_storage()
S
68 1 6
IAMG_posttype::enque_admin_styles()
S
75 1 4
IAMG_ComDispatcher::remove()
S
91 1 2
IAMG_ComDispatcher::_get_command()
S
80 1 3
IAMG_ComDispatcher::reset()
S
91 1 2
IAMG\IAMG_AdminNotice::__construct()
S
91 1 2
IAMG\IAMG_AdminNotice::display_rating_notice()
S
100 1 9
IAMG_Activation::redirect_to_overview_page()
S
74 1 5
IAMG\IAMG_Client::user_agent()
S
79 1 3
IAMG_Submenue::add_editor_metabox()
S
72 1 5
IAMG_ComDispatcher::_attachment_monitor_filter()
S
76 1 4
IAMG_ComDispatcher::_validate_block_id()
S
79 1 3
IAMG_Activation::iamg_add_custom_action_link()
S
67 1 7
IAMG\IAMG_AppSettingsBuilder::__construct()
S
81 1 3
IAMG\IAMG_Client::get_slug()
S
82 1 3
IAMG_Submenue::add_saving_info_in_metabox()
S
71 1 8
IAMG_posttype::gallery_custom_columns()
S
63 1 10
IAMG\IAMG_Client::get_app_time()
S
79 1 3
IAMG_ComDispatcher::_validate_press_id()
S
79 1 3
IAMG\IAMG_ImageHandler::save_external_videos()
S
75 1 4
IAMG_LibHandler::deactivate()
S
81 1 3
IAMG_Activation::end_activation()
S
73 1 5
IAMG_LibHandler::getSlug()
S
80 1 3
IAMG_LibHandler::run_schedule()
S
75 1 4
IAMG_posttype::get_local_id()
S
78 1 3
IAMG\IAMG_AdminNotice::display_notice()
S
73 1 5