Code Analysis: Bogo 3.8

Function Rating Maintainability Complexity Lines of code
bogo_generate_rewrite_rules()
D
18
48 260
bogo_parse_query()
D
32 37 100
bogo_unique_post_slug()
C
31 29 107
bogo_duplicate_post()
C
31 27 112
bogo_load_tools_page()
B
34 19 104
bogo_rewrite_rules_array()
B
30 14 143
bogo_rest_post_translations()
B
36 17 84
bogo_get_url_with_lang()
B
36 17 82
bogo_save_post()
B
42 18 50
bogo_admin_enqueue_scripts()
B
34 14 90
bogo_locale()
A
44 14 42
bogo_admin_notice()
A
45 14 39
bogo_get_page_by_path()
A
40 13 54
Bogo_Language_Packs_List_Table::prepare_items()
A
42 13 52
bogo_language_switcher()
A
38 11 73
bogo_l10n_meta_box()
A
37 10 85
bogo_languages()
A
28
5 143
bogo_rest_create_post_translation()
A
39 10 68
bogo_map_meta_cap()
A
46 12 37
bogo_get_post_translations()
A
44 11 44
bogo_language_suggestion()
A
42 10 57
bogo_m17n_headers()
A
46 11 38
bogo_delete_language_pack()
A
48 11 34
bogo_get_closest_locale()
A
48 11 34
bogo_terms_translation()
A
40 9 63
bogo_get_local_post()
A
44 10 46
bogo_format_atts()
A
49 11 30
bogo_load_texts_page()
A
41 9 55
bogo_post_row_actions()
A
45 9 41
Bogo_Terms_Translation_List_Table::prepare_items()
A
45 9 39
bogo_language_switcher_links()
A
46 9 39
bogo_get_language_native_name()
A
29
2 143
Bogo_Language_Packs_List_Table::handle_row_actions()
A
51 9 28
bogo_get_default_locale()
A
52 9 27
bogo_add_translation()
A
51 9 26
bogo_available_languages()
A
47 8 35
bogo_get_lang_from_url()
A
48 8 30
bogo_page_link()
A
51 8 26
bogo_available_locales()
A
47 7 39
bogo_update_nav_menu_item()
A
55 8 20
bogo_get_pages()
A
55 8 19
bogo_get_flag()
S
41 5 57
Bogo_POMO::export()
S
45 6 40
bogo_update_user_option()
S
53 7 23
bogo_http_accept_languages()
S
53 7 22
Bogo_Walker_Nav_Menu_Edit::language_settings()
S
45 5 48
bogo_in_widget_form()
S
51 6 25
Bogo_Language_Packs_List_Table::render_post_count()
S
48 5 39
bogo_posts_where()
S
54 6 21
bogo_get_user_locale()
S
56 6 19
Bogo_Terms_Translation_List_Table::extra_tablenav()
S
49 5 33
bogo_restrict_manage_posts()
S
55 6 17
bogo_switch_user_locale()
S
57 6 17
Bogo_Language_Packs_List_Table::get_views()
S
46 4 46
bogo_manage_posts_custom_column()
S
52 5 26
Bogo_Language_Packs_List_Table::column_status()
S
55 5 21
Bogo_POMO::import()
S
56 5 19
bogo_user_meta_filter()
S
56 5 19
bogo_setup_nav_menu_item()
S
59 5 16
bogo_posts_join()
S
57 5 16
bogo_set_accessible_locales()
S
51 4 30
bogo_post_link()
S
58 5 14
Bogo_POMO::translate()
S
61 5 12
bogo_admin_bar_menu()
S
48 3 36
bogo_get_country_code()
S
47 3 35
bogo_get_short_name()
S
55 4 20
bogo_get_user_accessible_locales()
S
57 4 18
bogo_count_posts()
S
56 4 17
bogo_texts_page()
S
47 2 45
bogo_adjacent_post_where()
S
59 4 15
bogo_post_type_link()
S
60 4 13
bogo_get_nav_menu_items()
S
62 4 12
bogo_bloginfo_filter()
S
63 4 11
bogo_init_block_editor_assets()
S
49 2 37
bogo_rest_api_init()
S
49 2 37
bogo_tools_page()
S
50 2 35
bogo_admin_menu()
S
49 2 35
Bogo_Language_Packs_List_Table::action_link()
S
46 1 46
bogo_set_locale_options()
S
67 4 8
bogo_pre_determine_locale()
S
64 4 10
bogo_lang_slug()
S
59 3 14
bogo_add_l10n_meta_boxes()
S
60 3 14
Bogo_Widget_Language_Switcher::widget()
S
59 3 14
bogo_posts_columns()
S
61 3 13
bogo_shortcode_callback()
S
62 3 12
bogo_add_rewrite_tags()
S
62 3 12
bogo_truncate_post_slug()
S
63 3 11
bogo_adjacent_post_join()
S
65 3 9
bogo_plugin_url()
S
67 3 7
bogo_post_class()
S
65 3 9
bogo_home_url()
S
69 3 7
bogo_delete_prop()
S
64 3 10
bogo_widget_update_callback()
S
66 3 9
bogo_is_available_locale()
S
65 3 10
bogo_body_class()
S
67 3 8
bogo_widget_display_callback()
S
65 3 9
bogo_get_prop()
S
68 3 7
bogo_get_term_filter()
S
67 3 9
bogo_enqueue_scripts()
S
63 2 12
bogo_rest_languages()
S
62 2 12
bogo_option_sticky_posts()
S
64 2 11
Bogo_Language_Packs_List_Table::meet_the_team_link()
S
53 1 25
Bogo_Language_Packs_List_Table::can_install_language_pack()
S
69 2 7
bogo_locale_is_alone()
S
66 2 8
bogo_is_enus_deactivated()
S
71 2 6
bogo_after_admin_bar_render()
S
76 2 5
bogo_set_screen_options()
S
67 2 9
bogo_upgrade()
S
65 2 9
bogo_sitemaps_posts_query_args()
S
71 2 6
bogo_is_localizable_post_type()
S
78 2 3
bogo_get_post_locale()
S
69 2 7
bogo_get_post_translation()
S
69 2 7
bogo_set_prop()
S
67 2 8
bogo_get_language()
S
65 2 9
bogo_url()
S
65 2 9
bogo_is_default_locale()
S
75 2 4
bogo_get_lang_regex()
S
66 2 8
Bogo_Language_Packs_List_Table::single_row()
S
70 2 7
Bogo_Terms_Translation_List_Table::column_translation()
S
62 1 12
bogo_translate_term()
S
68 1 8
bogo_post_type_archive_link()
S
81 1 3
bogo_remove_get_term_filter()
S
80 1 3
Bogo_Language_Packs_List_Table::define_columns()
S
68 1 7
bogo_feed_link()
S
81 1 3
Bogo_Language_Packs_List_Table::column_name()
S
70 1 7
bogo_init()
S
78 1 4
bogo_widgets_init()
S
82 1 3
Bogo_POMO::is_ready()
S
80 1 3
bogo_author_feed_link()
S
81 1 3
Bogo_POMO::reset()
S
80 1 3
bogo_taxonomy_feed_link()
S
81 1 3
Bogo_Terms_Translation_List_Table::define_columns()
S
66 1 8
Bogo_Terms_Translation_List_Table::column_context()
S
79 1 3
Bogo_Walker_Nav_Menu_Edit::start_el()
S
64 1 10
bogo_admin_bar_init()
S
82 1 3
Bogo_Widget_Language_Switcher::update()
S
66 1 9
bogo_register_language_switcher_block()
S
75 1 5
bogo_localizable_post_types()
S
65 1 10
Bogo_Terms_Translation_List_Table::display_tablenav()
S
69 1 7
Bogo_Terms_Translation_List_Table::get_columns()
S
80 1 3
bogo_day_link()
S
81 1 3
Bogo_Widget_Language_Switcher::form()
S
69 1 5
bogo_deactivate()
S
82 1 3
bogo_edit_nav_menu_walker()
S
83 1 3
bogo_month_link()
S
81 1 3
bogo_filter_locales()
S
79 1 3
bogo_add_lang_to_permastruct()
S
67 1 7
bogo_query_vars()
S
77 1 4
bogo_category_feed_link()
S
81 1 3
bogo_pages_columns()
S
80 1 3
bogo_term_link()
S
81 1 3
bogo_post_type_archive_feed_link()
S
81 1 3
Bogo_Terms_Translation_List_Table::column_original()
S
79 1 3
Bogo_Language_Packs_List_Table::get_columns()
S
80 1 3
bogo_language_tag()
S
66 1 8
Bogo_Widget_Language_Switcher::__construct()
S
65 1 10
Bogo_POMO::dir()
S
70 1 6
bogo_translate()
S
79 1 3
bogo_year_link()
S
81 1 3