Code Analysis: Multilingual Contact Form 7 with Polylang 1.0.12

Function Rating Maintainability Complexity Lines of code
mlcf7pll\core\fields\Field::render()
D
28
29 125
mlcf7pll\frontend\Submission::fix_pipes_values_in_posted_data()
A
47 13 33
mlcf7pll\core\settings\Settings_Page::display_field()
A
52 9 24
mlcf7pll\frontend\Messages_Translation::load_textdomain_mofile()
A
54 9 19
mlcf7pll\Helpers::translate_translation_strings_recursive()
S
49 7 30
mlcf7pll\Helpers::mb_str_replace()
S
53 6 22
mlcf7pll\Helpers::load_string_translations_textdomain()
S
53 6 21
mlcf7pll\admin\MessagesTranslationManager::on_admin_init()
S
57 6 16
mlcf7pll\admin\MessagesTranslationManager::untranslatable_messages_exist()
S
58 6 14
mlcf7pll\core\settings\Settings_Page::register_settings()
S
51 5 28
mlcf7pll\frontend\Form_Locale::fix_form_locale()
S
62 6 11
mlcf7pll\Helpers::is_rest()
S
60 6 11
mlcf7pll\admin\String_Registration::register_strings_from_array_recursive()
S
59 5 15
mlcf7pll\admin\MessagesTranslationManager::reset_untranslatable_messages()
S
60 4 12
mlcf7pll\Helpers::pll_get_locale_by_slug()
S
61 4 12
mlcf7pll\frontend\Submission::has_curly_bracket_values()
S
66 4 8
mlcf7pll\admin\MessagesTranslationManager::get_custom_messages()
S
61 3 13
mlcf7pll\core\settings\Settings_Page::__construct()
S
56 2 17
mlcf7pll\frontend\Messages_Translation::__construct()
S
63 3 10
mlcf7pll\core\fields\Field::label()
S
66 3 7
mlcf7pll\admin\MessagesTranslationManager::multilang_panel()
S
50 1 30
mlcf7pll\admin\String_Registration::register_strings()
S
64 3 10
mlcf7pll\settings\Mlcf7pll_Settings_Page::get_settings_fields()
S
57 1 18
mlcf7pll\admin\MessagesTranslationManager::messagesTranslationWarning()
S
58 1 17
mlcf7pll\core\fields\Field::output_standard_styles()
S
100 1 17
mlcf7pll\Helpers::preg_match_helper()
S
63 2 10
mlcf7pll\Helpers::pre_determine_locale()
S
73 2 5
mlcf7pll\core\fields\Field::placeholder()
S
70 2 6
mlcf7pll\frontend\Messages_Translation::maybe_save_locale_to_cookie()
S
71 2 6
mlcf7pll\frontend\String_Translation::do_translate()
S
71 2 6
mlcf7pll\core\fields\Field::enqueue_colorpicker_scripts()
S
65 2 8
mlcf7pll\core\fields\Field::description()
S
69 2 6
mlcf7pll\core\fields\Field::enqueue_fileupload_scripts()
S
67 2 7
mlcf7pll\Helpers::get_untranslated_default_messages()
S
64 2 9
mlcf7pll\core\fields\Field::enqueue_standard_styles()
S
69 2 6
mlcf7pll\core\fields\Field::enqueue_fields_scripts()
S
67 2 7
mlcf7pll\Helpers::maybe_load_cf7_textdomain()
S
66 2 8
mlcf7pll\core\settings\Settings_Page::settings_section()
S
71 2 5
mlcf7pll\Plugin::instance()
S
71 2 6
mlcf7pll\frontend\Form_Locale::__construct()
S
72 2 5
mlcf7pll\core\settings\Settings_Page::render_page()
S
59 1 14
mlcf7pll\Plugin::__construct()
S
59 1 14
mlcf7pll\Plugin::init()
S
62 1 13
mlcf7pll\frontend\Messages_Translation::translate_cf7_messages()
S
73 1 5
mlcf7pll\admin\String_Registration::__construct()
S
79 1 3
mlcf7pll\frontend\String_Translation::__construct()
S
71 1 5
mlcf7pll\Helpers::deactivate_gettext()
S
82 1 3
mlcf7pll\admin\MessagesTranslationManager::__construct()
S
79 1 3
mlcf7pll\admin\MessagesTranslationManager::add_multilang_panel()
S
68 1 7
mlcf7pll\frontend\String_Translation::translate_form_elements()
S
81 1 3
mlcf7pll\settings\Mlcf7pll_Settings_Page::init()
S
65 1 9
mlcf7pll\settings\Mlcf7pll_Settings_Page::__construct()
S
75 1 4
mlcf7pll\frontend\String_Translation::translate_cf7_messages()
S
81 1 3
mlcf7pll\core\fields\Field::__construct()
S
81 1 3
mlcf7pll\Plugin::plugin_activation()
S
79 1 3
mlcf7pll\Plugin::plugin_deactivation()
S
79 1 3
mlcf7pll\frontend\Submission::__construct()
S
79 1 3
mlcf7pll\Helpers::extract_translation_strings()
S
72 1 5
mlcf7pll\core\settings\Settings_Page::add_menu_item()
S
65 1 10
mlcf7pll\core\settings\Settings_Page::get_settings_fields()
S
77 1 4
mlcf7pll\core\settings\Settings_Page::add_settings_link()
S
71 1 5