Code Analysis: Thumbnails like in Drupal 1.1.1

Function Rating Maintainability Complexity Lines of code
WPDI_Hooks::markup_settings_page()
D
21
37 237
WPDI_Validators::validate_effects_fields()
C
33 25 100
WPDI_Common::make_preset()
B
37 20 67
WPDI_Common::build_preset_effects_echo()
A
40 15 60
WPDI_Effects_GD::canvasactions_roundedcorners_pixel_opacity()
A
49 16 30
WPDI_Common::delete_disabled_thumbs()
A
40 11 59
WPDI_Effects_GD::rounded_corners()
A
45 11 37
WPDI_Common::regenerate_thumbs()
A
45 9 39
WPDI_Hooks::calc_preview_array()
A
41 7 57
WPDI_Effects::image_dimensions_scale()
A
57 9 15
WPDI_Hooks::image_downsize()
S
53 7 21
WPDI_Hooks::intermediate_image_sizes_advanced()
S
55 7 19
WPDI_Effects_GD::image_gd_create_tmp()
S
51 6 26
WPDI_Common::update_handled()
S
52 6 25
WPDI_Hooks::intermediate_image_sizes()
S
57 6 16
wpdi_requirements_met()
S
57 6 15
WPDI_Hooks::woocommerce_image_sizes_to_resize()
S
59 6 14
WPDI_Effects::image_filter_keyword()
S
61 6 13
WPDI_Validators::validate_edit_fields()
S
54 5 23
WPDI_Effects::image_load()
S
53 5 21
WPDI_Effects_Imagick::rotate()
S
55 5 19
WPDI_Common::print_error()
S
56 5 19
WPDI_Common::get_all_presets_names()
S
55 5 18
WPDI_Effects_GD::rotate()
S
49 4 32
WPDI_Common::define_internal_sizes()
S
63 6 10
WPDI_Common::get_internal_presets()
S
60 5 13
WPDI_Common::print_success()
S
59 4 15
WPDI_Effects::image_round_corners()
S
60 4 13
WPDI_Common::create_preview_subsize()
S
57 3 16
WPDI_Effects_GD::scale()
S
60 3 12
WPDI_Common::render()
S
61 3 12
WPDI_Common::define_common_hooks()
S
49 1 39
WPDI_Common::upload_media()
S
61 2 12
WPDI_Common::activate()
S
61 2 11
WPDI_Effects_GD::true_resize()
S
61 2 11
WPDI_Effects::image_scale_and_crop()
S
61 2 11
WPDI_Effects::image_flip_flop()
S
71 2 6
WPDI_Common::get_preset()
S
68 2 7
WPDI_Common::clear_cache()
S
74 2 5
WPDI_Common::get_plugin_root_path()
S
70 2 6
WPDI_Effects_Imagick::scale()
S
69 2 7
WPDI_Effects::__construct()
S
69 2 7
WPDI_Common::define_admin_hooks()
S
63 2 10
WPDI_Effects_Imagick::make_subsize()
S
64 2 9
WPDI_Common::get_action()
S
71 2 6
WPDI_Validators::get_errors()
S
66 2 8
WPDI_Effects_GD::make_subsize()
S
64 2 9
WPDI_Effects::image_rotate()
S
71 2 6
WPDI_Common::update_preview()
S
64 2 10
WPDI_Validators::validate_add_preset_fields()
S
67 2 8
WPDI_Validators::get_success()
S
66 2 8
WPDI_Common::update_meta()
S
68 2 7
WPDI_Common::uninstall()
S
68 2 7
WPDI_Effects::image_scale()
S
69 2 6
WPDI_Common::get_all_attachments()
S
62 1 11
WPDI_Common::run()
S
75 1 5
WPDI_Common::get_relative_file_path()
S
78 1 3
WPDI_Validators::clear_digits()
S
78 1 3
WPDI_Common::load_dependencies()
S
64 1 10
WPDI_Common::deactivate()
S
72 1 5
WPDI_Effects_Imagick::true_flop()
S
81 1 3
WPDI_Validators::get_effect_key()
S
79 1 3
WPDI_Effects_GD::true_flip()
S
79 1 3
WPDI_Hooks::wp_image_maybe_exif_rotate()
S
81 1 3
WPDI_Validators::get_effect()
S
79 1 3
WPDI_Effects::is_correct_handler()
S
75 1 4
WPDI_Effects::image_save()
S
81 1 3
WPDI_Effects::image_crop()
S
67 1 7
WPDI_Effects::image_resize()
S
79 1 3
WPDI_Effects::custom_update_size()
S
81 1 3
WPDI_Validators::get_thumb()
S
79 1 3
WPDI_Effects::get_image()
S
82 1 3
WPDI_Hooks::big_image_size_threshold()
S
81 1 3
WPDI_Effects_GD::desaturate()
S
79 1 3
WPDI_Effects_GD::true_flop()
S
79 1 3
wpdi_run_wp_drupal_imagecache()
S
77 1 4
WPDI_Common::set_locale()
S
71 1 7
WPDI_Common::register_admin_scripts()
S
78 1 3
WPDI_Hooks::wp_image_editors()
S
79 1 3
WPDI_Effects_Imagick::rounded_corners()
S
78 1 3
WPDI_Effects::add_error()
S
70 1 6
WPDI_Effects_Imagick::true_resize()
S
79 1 3
WPDI_Common::build_plugin_url()
S
74 1 4
WPDI_Effects_GD::custom_update_size()
S
80 1 3
WPDI_Effects_Imagick::custom_update_size()
S
80 1 3
WPDI_Common::__construct()
S
74 1 5
WPDI_Hooks::plugin_action_links()
S
64 1 10
WPDI_Effects_Imagick::desaturate()
S
77 1 4
WPDI_Effects_Imagick::true_flip()
S
81 1 3
WPDI_Hooks::register_settings_pages()
S
64 1 10
WPDI_Effects::image_desaturate()
S
81 1 3