Code Analysis: Theme and plugin translation for Polylang (TTfP) 3.2.12

Function Rating Maintainability Complexity Lines of code
process_polylang_theme_translation_wp_loaded()
A
44 16 41
Polylang_Theme_Translation::file_scanner()
A
45 9 43
Polylang_TT_importer::import()
A
48 9 31
Polylang_TT_access::is_polylang_page()
A
61 10 11
Polylang_Theme_Translation::get_files_from_dir()
S
55 7 17
Polylang_Theme_Translation::run_plugin_scanner()
S
55 6 18
Polylang_TT_exporter::export()
S
52 4 25
custom_pll_settings_active_tab_import_export_strings()
S
55 4 19
Polylang_TT_exporter::export_data()
S
58 4 17
Polylang_Theme_Translation::run_theme_scanner()
S
58 4 15
tt_pll_gettext_filter()
S
61 4 13
pll_get_plugins()
S
61 4 12
process_polylang_theme_translation()
S
67 4 8
Polylang_TT_theme::includeTemplates()
S
58 3 15
Polylang_TT_access::chceck_plugin_access()
S
62 3 11
Polylang_Theme_Translation::add_to_polylang_register()
S
67 3 7
tt_pll_gettext_with_context_filter()
S
66 3 8
tt_pll_esc_html_filter()
S
67 3 8
Polylang_TT_access::get_instance()
S
71 2 6
pll_get_themes()
S
67 2 8
Polylang_TT_access::__construct()
S
91 1 2
tt_pll_ngettext_filter()
S
74 1 4
Polylang_TT_access::error_polylang_disable()
S
72 1 5
Polylang_Theme_Translation::run()
S
78 1 4
import_export_strings()
S
75 1 4
Polylang_Theme_Translation::__construct()
S
81 1 3
plugins_loaded_tt_for_polylang()
S
78 1 3
Polylang_TT_access::error_php_version()
S
71 1 5
Polylang_TT_exporter::__construct()
S
81 1 3