Code Analysis: Same but Different 1.0.14

Function Rating Maintainability Complexity Lines of code
OTB_Same_But_Different_Admin_API::display_field()
D
22
48 175
OTB_Same_But_Different::__construct()
A
31 10 125
OTB_Same_But_Different_Widget::form()
A
36 11 90
OTB_Same_But_Different_Settings::register_settings()
A
50 12 26
OTB_Same_But_Different_Admin_API::create_input_group()
A
50 9 26
OTB_Same_But_Different::show_related_posts_in_post_footer()
A
47 8 33
OTB_Same_But_Different_Settings::settings_fields()
A
36 3 99
OTB_Same_But_Different_Widget::update()
S
58 8 14
OTB_Same_But_Different_Widget::widget()
S
47 6 33
OTB_Same_But_Different_Admin_API::meta_box_content()
S
57 7 15
OTB_Same_But_Different_Admin_API::save_meta_boxes()
S
59 6 13
OTB_Same_But_Different::do_action()
S
56 5 19
OTB_Same_But_Different::check_if_single_post()
S
66 5 9
OTB_Same_But_Different_Admin_API::validate_field()
S
66 4 8
OTB_Same_But_Different::add_menu_item()
S
59 3 14
OTB_Same_But_Different::render_page()
S
63 3 10
OTB_Same_But_Different::enqueue_admin_styles()
S
69 3 6
OTB_Same_But_Different_Admin_API::add_meta_box()
S
66 3 8
OTB_Same_But_Different::show_notification_bubble()
S
67 3 8
OTB_Same_But_Different::get_default_value()
S
65 3 9
OTB_Same_But_Different_Admin_API::display_meta_box_field()
S
69 3 5
OTB_Same_But_Different()
S
69 2 7
OTB_Same_But_Different_Settings::instance()
S
71 2 6
OTB_Same_But_Different::instance()
S
71 2 6
OTB_Same_But_Different_Widget::getIfSet()
S
70 2 7
OTB_Same_But_Different::load_plugin_textdomain()
S
68 1 6
OTB_Same_But_Different::enqueue_front_end_scripts()
S
91 1 2
OTB_Same_But_Different::__clone()
S
79 1 3
OTB_Same_But_Different_Settings::settings_section()
S
74 1 4
OTB_Same_But_Different::enqueue_admin_scripts()
S
91 1 2
OTB_Same_But_Different::__wakeup()
S
79 1 3
OTB_Same_But_Different::load_custom_widgets()
S
81 1 3
OTB_Same_But_Different_Settings::__construct()
S
69 1 6
OTB_Same_But_Different_Admin_API::__construct()
S
78 1 3
OTB_Same_But_Different::add_link_to_plugin_listing()
S
71 1 5
OTB_Same_But_Different_Settings::__clone()
S
79 1 3
OTB_Same_But_Different::enqueue_front_end_styles()
S
77 1 3
OTB_Same_But_Different::_log_version_number()
S
77 1 3
OTB_Same_But_Different_Settings::init_settings()
S
80 1 3
OTB_Same_But_Different::install()
S
82 1 3
OTB_Same_But_Different_Settings::__wakeup()
S
79 1 3
OTB_Same_But_Different_Widget::__construct()
S
69 1 7
OTB_Same_But_Different_Settings::settings_assets()
S
74 1 4
OTB_Same_But_Different::load_localisation()
S
77 1 3