Code Analysis: Translation Stats 1.2.5

Function Rating Maintainability Complexity Lines of code
GP_Locales::__construct()
D
0
2 2,314
Settings_Section_Plugins::settings_projects_table_row()
C
29 26 133
Admin_Notice::message()
C
40 25 50
Plugins::render_notices()
A
37 10 90
Plugins::plugins_status_link()
A
44 11 46
Settings_Field_Select_Language::callback()
A
47 8 33
Plugins::render_stats_bar()
A
45 7 44
DB_Update::settings_update_v0_to_v1()
A
42 6 59
Plugins::plugin_subproject_stats()
A
50 8 27
Settings::add_options_page()
A
42 5 65
Plugins::plugins_filter_by_translation_stats()
A
47 7 33
Settings_Section_Debug::debug_info__settings()
S
40 3 84
Plugins::render_plugin_stats_column()
S
49 6 32
Settings_Field_Select::callback()
S
50 6 27
Settings_Section_Plugins::plugins_list()
S
48 5 41
Translation_Stats::register_plugin_scripts()
S
45 4 53
Settings_Section_Plugins::settings_projects_table_header()
S
47 4 45
Utils::get_asset_url()
S
57 6 15
Translations_API::plugin_metadata()
S
58 5 16
Utils::allowed_html()
S
41 1 73
translation_stats_uninstall_delete_transients()
S
53 4 24
translation_stats_disabled_notice()
S
49 3 37
Debug::plugin_stats_widget__debug()
S
49 3 37
Settings_Section_Debug::debug_info__transients()
S
49 3 36
Locales::locales()
S
55 4 19
Settings::settings_reset_callback()
S
55 4 18
Settings::transients_delete_callback()
S
55 4 18
Settings_Widgets::settings_widget__about()
S
43 1 62
Settings_Section_Debug::debug_info__server()
S
51 3 32
Locales::wporg_subdomain()
S
49 3 31
Translations_API::plugin_project_on_translate_wporg()
S
59 4 13
Translations_API::plugin_subproject_on_translate_wporg()
S
59 4 13
Plugins::plugin_widget_content_load()
S
61 4 12
Transients::delete_transients()
S
62 4 12
Utils::translation_language()
S
62 4 12
GP_Locale::numbers_for_index()
S
61 4 12
GP_Locales::by_field()
S
62 4 11
translation_stats_uninstall()
S
62 4 11
Settings_Footer::admin_footer_text()
S
53 3 24
Settings_Field_Checkbox::callback()
S
54 3 20
Plugins::plugin_widget_content_stats()
S
57 3 18
Translations_API::translate_url()
S
57 3 17
class_autoload()
S
58 3 15
Utils::is_development_mode()
S
64 4 10
Utils::campaign_link()
S
68 4 6
Translation_Stats::allowed_pages()
S
70 4 6
Translations_API::locale()
S
63 3 11
Activation::activate_notice()
S
52 2 25
Settings_Field_Button::callback()
S
52 2 24
Settings::get_settings_pages()
S
49 1 39
DB_Update::update_settings_version()
S
55 2 21
Settings_Section_Tools_Transients::fields()
S
50 1 32
translation_stats_check_version()
S
67 3 8
Settings_Section::get_fields()
S
65 3 9
Settings_Section::callback()
S
65 3 10
DB_Update::settings_db_check()
S
66 3 9
DB_Update::installed_settings_version()
S
64 3 10
Settings_Field_Hidden::callback()
S
62 3 10
Debug::setting_field__debug()
S
54 1 30
Settings_Footer::admin_footer_version()
S
63 3 10
Settings::settings_sections()
S
64 3 10
Settings_Field::is_supported()
S
60 2 14
Plugins::render_plugin_stats()
S
54 1 28
Settings_Section_Plugins::render_custom_section()
S
53 1 28
Translation_Stats::__construct()
S
62 2 12
Translation_Stats::register_plugin_styles()
S
63 2 12
Plugins::add_translation_stats_column()
S
60 2 12
Settings_Section_Tools_Data::fields()
S
52 1 27
Admin_Notice::is_supported()
S
63 2 12
Settings_Section_General::fields()
S
53 1 25
Settings_Section_Debug::debug_info__site()
S
56 1 23
Translations_API::plugin_subprojects()
S
56 1 21
Transients::get_transients()
S
59 1 16
Locales::locale_slug()
S
69 2 7
GP_Locale::__get()
S
73 2 5
Settings_Section::render_description()
S
66 2 9
Settings_Section::add_field()
S
66 2 8
GP_Locale::__construct()
S
73 2 5
GP_Locale::index_for_number()
S
65 2 9
Settings_Field::__construct()
S
72 2 6
GP_Locales::by_slug()
S
74 2 4
GP_Locale::__isset()
S
71 2 6
Settings_Section::get_section()
S
71 2 6
Translations_API::plugin_on_wporg()
S
74 2 4
Translations_API::get_plugin_slug()
S
66 2 8
GP_Locales::instance()
S
72 2 5
Locales::instance()
S
70 2 6
Plugins::__construct()
S
62 2 10
Settings_Section_Debug::render_custom_section()
S
64 1 14
Debug::add_settings_debug_page()
S
61 1 14
Settings_Section::__construct()
S
61 1 14
Plugins::plugin_widget_content()
S
61 1 14
Settings::settings_defaults()
S
62 1 12
Settings_Sidebar::settings__sidebar()
S
69 1 11
Plugins::plugin_update_button()
S
67 1 11
Settings_Footer::__construct()
S
78 1 3
Settings_Section::fields()
S
82 1 3
Settings_Section_General::section()
S
66 1 8
Settings_Section_Hidden::section()
S
67 1 8
DB_Update::__construct()
S
79 1 3
Settings_Section_Plugins::section()
S
67 1 8
Settings_Field::add_field()
S
65 1 10
GP_Locale::combined_name()
S
78 1 3
Translation_Stats::plugin_action_links()
S
69 1 6
Settings_Section::prepare_field()
S
73 1 5
GP_Locales::locales()
S
76 1 4
Settings_Section_Tools_Data::section()
S
66 1 8
Settings_Section_Hidden::fields()
S
65 1 10
Settings_Section_Tools_Transients::section()
S
66 1 8
GP_Locale::__set_state()
S
80 1 3
GP_Locales::exists()
S
75 1 4
GP_Locale::__toString()
S
81 1 3
Settings_Section::field_defaults()
S
69 1 7
Settings_Section::render_custom_section()
S
91 1 2
Settings::__construct()
S
67 1 8
Settings::admin_menu()
S
66 1 9
translation_stats_compatible_version()
S
79 1 3
Activation::__construct()
S
75 1 4
Settings_Section::section()
S
68 1 8
Plugins::plugin_widget_title()
S
63 1 10
Settings_Sidebar::__construct()
S
79 1 3
Activation::activate()
S
79 1 3
Settings_Section_Debug::__construct()
S
76 1 4
Settings_Widgets::__construct()
S
79 1 3
Debug::__construct()
S
71 1 5
Settings::nonce_fail()
S
76 1 4
Settings_Section_Debug::section()
S
67 1 8
Translations_API::translations_api_get_plugin()
S
74 1 4