Code Analysis: Post Thumbnail Editor 2.4.8

Function Rating Maintainability Complexity Lines of code
pte_resize_images()
B
34 18 84
pte_json_encode()
A
46 11 36
ChromePhp::_convert()
A
47 11 35
pte_confirm_images()
A
40 9 61
pte_site_options_validate()
A
48 11 31
pte_get_width_height()
A
49 9 28
pte_get_alternate_sizes()
A
46 8 42
pte_options_validate()
A
49 8 32
pte_ajax()
A
50 8 28
PTE_Image_Editor_Imagick::crop()
A
46 7 39
pte_get_image_data()
S
50 7 30
PTE_Image_Editor_GD::crop()
S
45 6 42
pte_body()
S
45 6 41
PteLogger::pte_log()
S
53 7 24
pte_update_user_options()
S
54 6 20
ChromePhp::_log()
S
55 6 18
pte_debug_display()
S
50 5 32
pte_gcd()
S
60 6 15
ChromePhp::_addRow()
S
59 6 14
pte_rmdir()
S
58 6 14
PteLogger::get_logs()
S
61 6 12
pte_generate_working_image()
S
51 5 26
pte_edit_setup()
S
54 5 20
PteLogChromeHandler::handle()
S
59 5 17
ChromePhp::_getPropertyKey()
S
61 5 12
pte_options_init()
S
44 2 54
pte_sizes_display()
S
53 4 21
PteLogMessage::getTypeString()
S
59 4 15
pte_get_options()
S
60 4 13
pte_get_jpeg_quality()
S
61 4 12
pte_check_id()
S
63 4 11
pte_imgedit_size_display()
S
56 3 22
pte_admin_media_scripts()
S
50 2 32
pte_stream_preview_image()
S
57 3 16
pte_generate_filename()
S
57 3 16
pte_wp_ajax_imgedit_preview()
S
63 4 10
pte_delete_images()
S
57 3 15
pte_filter_sizes()
S
63 4 10
PteLogFileHandler::logAndTruncate()
S
60 3 13
pte_get_all_alternate_size_information()
S
62 3 11
pte_load_media_library()
S
57 2 17
PteLogger::__construct()
S
65 3 9
PteLogFileHandler::handle()
S
67 3 7
PteLogger::get_log_count()
S
72 3 5
PteLogMessage::__construct()
S
65 3 8
pte_get_user_options()
S
59 2 15
pte_jpeg_compression_display()
S
63 2 12
pte_cache_buster_display()
S
63 2 12
pte_crop_save_display()
S
63 2 12
pte_url()
S
62 2 12
pte_media_row_actions()
S
61 2 11
pte_admin_post_thumbnail_html()
S
62 2 11
pte_options_page()
S
57 1 24
pte_get_site_options()
S
64 2 10
PteLogger::singleton()
S
69 2 7
ChromePhp::getInstance()
S
71 2 6
pte_get_option_name()
S
69 2 7
pte_require_json()
S
75 2 5
ChromePhp::__construct()
S
71 2 5
PteLogger::add_message()
S
74 2 5
PteLogChromeHandler::__construct()
S
70 2 6
ChromePhp::addSettings()
S
73 2 5
enqueue_script_filter()
S
72 2 5
PteLogger::handle()
S
64 2 10
pte_is_crop_border_enabled()
S
71 2 5
pte_check_int()
S
67 2 8
ChromePhp::getSetting()
S
71 2 6
pte_image_get_preview_ratio()
S
69 2 6
pte_admin_menu()
S
61 1 14
pte_init_iframe()
S
60 1 13
pte_json_error()
S
74 1 5
pte_enable_editor_js()
S
80 1 3
pte_admin_media_scripts_editor()
S
82 1 3
pte_noop()
S
100 1 1
pte_wp_ajax_imgedit_preview_wrapper()
S
77 1 4
pte_is_crop_border_opaque()
S
79 1 3
PteLogger::error()
S
79 1 3
pte_options()
S
77 1 4
pte_reset_display()
S
71 1 7
pte_media_library_boot()
S
80 1 3
PteLogMessage::max_log_level()
S
79 1 3
ChromePhp::warn()
S
75 1 4
PteLogFileHandler::__construct()
S
73 1 5
PteLogger::warn()
S
79 1 3
ChromePhp::log()
S
75 1 4
u()
S
71 1 7
ChromePhp::_writeHeader()
S
79 1 3
PteLogFileHandler::getLogFileName()
S
75 1 4
pte_enable_media_js()
S
80 1 3
injectCoffeeScript()
S
69 1 8
enqueue_last()
S
67 1 9
ChromePhp::groupCollapsed()
S
75 1 4
pte_edit_posts_cap()
S
94 1 1
ChromePhp::info()
S
75 1 4
ChromePhp::table()
S
75 1 4
pte_edit_form_hook_redirect()
S
80 1 3
ChromePhp::addSetting()
S
80 1 3
PteLogMessage::getMessage()
S
82 1 3
PteLogMessage::__toString()
S
67 1 8
ChromePhp::_encode()
S
79 1 3
ChromePhp::error()
S
75 1 4
ChromePhp::groupEnd()
S
75 1 4
PteLogMessage::getType()
S
82 1 3
pte_add_thickbox()
S
68 1 8
pte_site_options_html()
S
80 1 3
PTE_Image_Editor_GD::getRgbFromHex()
S
76 1 3
pte_edit_page()
S
78 1 4
PteLogFileHandler::getLogFileUrl()
S
75 1 4
ChromePhp::group()
S
75 1 4
pte_tmp_dir()
S
69 1 6
pte_launch_options_page()
S
77 1 4
pte_image_editors()
S
70 1 6
create_pte_confirm()
S
81 1 3
PteLogger::debug()
S
79 1 3