Flexible_Invoices_Translator B

Total Complexity 95
Dependencies 2
Dependents 3
Total lines 436
Lines of code 286
Logical lines of code 166
Comment lines 0
Methods 24
Properties 4

Methods 24

Method Rating Maintainability Complexity Lines of code
translate_registered_meta_string()
A
46 12 35
translate_registered_string()
A
52 9 22
load_mo_translations()
A
51 8 26
load_translation_domain()
S
58 5 15
init_wpml()
S
63 5 12
get_translated_textarea_field()
S
55 4 17
get_translated_input_field()
S
55 4 17
translate()
S
60 4 12
register_meta_strings()
S
61 4 11
register_woocommerce_meta_strings()
S
61 4 11
translate_meta()
S
58 3 15
register_strings()
S
63 4 10
register_woocommerce_strings()
S
63 4 10
get_translate_lang()
S
70 3 6
set_translate_lang()
S
69 3 7
is_plugin_active()
S
67 3 8
load_woocommerce_translations()
S
65 3 8
load_translations()
S
65 3 8
switch_lang()
S
69 3 7
get_active_lang()
S
69 2 7
is_default_language()
S
68 2 7
is_wpml_active()
S
76 1 4
init()
S
72 1 5
reset_translations()
S
71 1 6