Code Analysis: Multilingual Contact Form 7 with Polylang 1.0.0

Function Rating Maintainability Complexity Lines of code
mlcf7pll\Helpers::load_string_translations_textdomain()
S
56 5 17
mlcf7pll\Helpers::translate_translation_strings_recursive()
S
57 5 16
mlcf7pll\admin\String_Registration::register_strings_from_array_recursive()
S
61 4 12
mlcf7pll\Helpers::pll_get_locale_by_slug()
S
61 4 12
mlcf7pll\admin\String_Registration::register_strings()
S
64 3 10
mlcf7pll\frontend\Messages_Translation::load_textdomain_mofile()
S
66 2 8
mlcf7pll\frontend\String_Translation::do_translate()
S
71 2 6
mlcf7pll\Helpers::maybe_load_cf7_textdomain()
S
66 2 8
mlcf7pll\Helpers::pre_determine_locale()
S
73 2 5
mlcf7pll\Plugin::instance()
S
71 2 6
mlcf7pll\frontend\Messages_Translation::__construct()
S
70 2 6
mlcf7pll\Plugin::__construct()
S
59 1 14
mlcf7pll\frontend\String_Translation::translate_cf7_messages()
S
81 1 3
mlcf7pll\Plugin::init()
S
70 1 7
mlcf7pll\Helpers::extract_translation_strings()
S
72 1 5
mlcf7pll\frontend\String_Translation::__construct()
S
71 1 5
mlcf7pll\admin\String_Registration::__construct()
S
79 1 3
mlcf7pll\Plugin::plugin_activation()
S
79 1 3
mlcf7pll\Helpers::deactivate_gettext()
S
82 1 3
mlcf7pll\frontend\Messages_Translation::translate_cf7_messages()
S
73 1 5
mlcf7pll\frontend\String_Translation::translate_form_elements()
S
81 1 3
mlcf7pll\admin\Editor_Panels::add_wpcf7_editor_panels()
S
68 1 7
mlcf7pll\Plugin::plugin_deactivation()
S
79 1 3
mlcf7pll\Helpers::get_untranslated_default_messages()
S
70 1 6
mlcf7pll\admin\Editor_Panels::render_polylang_panel()
S
65 1 10
mlcf7pll\admin\Editor_Panels::__construct()
S
79 1 3