Code Analysis: OpenGraph.xyz 1.0.0

Function Rating Maintainability Complexity Lines of code
OpenGraphXYZ\Dynamic_Tags::get_post_property()
C
38 30 57
OpenGraphXYZ\Admin::save_edited_form()
B
46 22 32
OpenGraphXYZ\Dynamic_Tags::get_user_property()
A
48 15 29
OpenGraphXYZ\Dynamic_Tags::register()
A
31 3 144
OpenGraphXYZ\Dynamic_Tags::replace_tag()
A
49 10 30
OpenGraphXYZ\Dynamic_Tags::get_product_property()
A
54 10 19
OpenGraphXYZ\Renderer::prepare_modifications()
A
50 9 26
opengraphxyz_get_template_variables()
A
50 9 24
OpenGraphXYZ\Admin::fetch_template_variables()
A
49 8 28
opengraphxyz_get_template_versions()
S
55 7 17
OpenGraphXYZ\Renderer::render_og_tag()
S
56 6 16
OpenGraphXYZ\Admin::handle_template_creation()
S
51 5 27
OpenGraphXYZ\Renderer::build_og_image_url()
S
56 5 16
OpenGraphXYZ\Admin::manage_posts_custom_column()
S
62 5 11
OpenGraphXYZ\Plugin::register_custom_post_type()
S
46 3 39
OpenGraphXYZ\Admin::modify_add_new_submenu()
S
56 4 20
OpenGraphXYZ\Admin::fetch_templates()
S
60 3 13
OpenGraphXYZ\Admin::add_custom_button()
S
64 3 11
OpenGraphXYZ\Admin::hide_add_new_button()
S
67 3 8
OpenGraphXYZ\Plugin::get_templates()
S
61 2 13
OpenGraphXYZ\Plugin::__construct()
S
62 2 12
OpenGraphXYZ\Admin::add_meta_boxes()
S
54 1 26
OpenGraphXYZ\Admin::add_plugin_admin_menu()
S
55 1 26
OpenGraphXYZ\Dynamic_Tags::get_site_name()
S
74 2 4
OpenGraphXYZ\Dynamic_Tags::remove_tag()
S
73 2 5
OpenGraphXYZ\Plugin::instance()
S
71 2 6
OpenGraphXYZ\Admin::is_opengraph_template_selection_page()
S
78 2 3
OpenGraphXYZ\Admin::init()
S
59 1 13
OpenGraphXYZ\Dynamic_Tags::all()
S
82 1 3
OpenGraphXYZ\Admin::display_versions()
S
79 1 3
OpenGraphXYZ\Dynamic_Tags::replace_in_attributes()
S
79 1 3
OpenGraphXYZ\Dynamic_Tags::init()
S
72 1 5
OpenGraphXYZ\Dynamic_Tags::replace_in_text_field()
S
79 1 3
OpenGraphXYZ\Admin::register_plugin_settings()
S
80 1 3
OpenGraphXYZ\Plugin::load_files()
S
75 1 4
OpenGraphXYZ\Dynamic_Tags::replace_in_html()
S
79 1 3
OpenGraphXYZ\Admin::display_modifications()
S
79 1 3
opengraphxyz_init()
S
80 1 3
OpenGraphXYZ\Admin::display_settings_page()
S
82 1 3
OpenGraphXYZ\Plugin::get_tags()
S
81 1 3
OpenGraphXYZ\Dynamic_Tags::replace_in_content()
S
79 1 3
OpenGraphXYZ\Dynamic_Tags::replace_in_url()
S
79 1 3
OpenGraphXYZ\Dynamic_Tags::replace()
S
70 1 6
OpenGraphXYZ\Dynamic_Tags::add_tag()
S
80 1 3
OpenGraphXYZ\Admin::display_post_types()
S
79 1 3
OpenGraphXYZ\Admin::display_template_selection_page()
S
73 1 5
OpenGraphXYZ\Renderer::init()
S
79 1 3
OpenGraphXYZ\Admin::manage_posts_columns()
S
64 1 10
OpenGraphXYZ\Dynamic_Tags::replace_in_email()
S
79 1 3