TRP_Query D

Total Complexity 222
Dependencies 1
Dependents 3
Total lines 1,463
Lines of code 870
Logical lines of code 557
Comment lines 369
Methods 63
Properties 8

Methods 63

Method Rating Maintainability Complexity Lines of code
update_gettext_strings()
A
42 15 49
get_string_rows()
A
44 15 43
update_strings()
A
44 9 41
get_existing_translations()
A
49 9 27
get_original_string_ids()
A
51 9 24
original_strings_sync()
A
48 8 31
set_original_string_meta_post_id()
A
50 8 28
remove_possible_duplicates()
A
51 8 22
insert_gettext_strings()
S
49 7 29
original_ids_reindex()
S
53 5 19
maybe_record_automatic_translation_error()
S
56 5 18
check_for_original_id_column()
S
58 5 15
check_for_block_type_column()
S
58 5 15
get_all_table_names()
S
58 5 14
is_values_accepted()
S
61 5 11
get_remove_identical_duplicates_query()
S
52 4 26
get_remove_untranslated_duplicates_query()
S
55 4 20
insert_strings()
S
54 4 20
regenerate_original_meta_table()
S
56 4 17
get_string_ids()
S
56 4 16
get_untranslated_strings()
S
56 4 16
get_gettext_string_rows_by_ids()
S
56 4 16
get_gettext_string_rows_by_original()
S
56 4 16
original_ids_cleanup()
S
57 4 15
original_ids_insert()
S
57 4 15
check_table()
S
50 3 30
check_machine_translation_log_table()
S
52 3 28
table_exists()
S
62 4 11
get_all_gettext_strings()
S
64 4 8
copy_all_translation_blocks_into_table()
S
59 3 13
update_translation_blocks_by_original()
S
59 3 13
get_all_gettext_table_names()
S
61 3 12
check_gettext_table()
S
54 2 21
check_original_meta_table()
S
56 2 19
get_db_sql_version()
S
68 3 7
check_original_table()
S
59 2 14
get_language_code_from_table_name()
S
67 2 7
get_rows_from_location()
S
62 2 10
get_table_name()
S
69 2 6
table_column_exists()
S
64 2 10
rename_originals_table()
S
66 2 8
get_last_id()
S
75 1 4
delete_empty_gettext_strings()
S
71 1 5
clean_original_meta()
S
72 1 5
drop_table()
S
75 1 4
remove_untranslated_strings_if_gettext_translation_available()
S
72 1 5
__construct()
S
74 1 5
remove_untranslated_strings_if_translation_available()
S
72 1 5
remove_duplicate_rows_in_gettext_table()
S
72 1 5
remove_duplicate_rows_in_dictionary_table()
S
72 1 5
get_gettext_table_name()
S
75 1 4
get_all_gettext_translated_strings()
S
71 1 5
get_meta_key_for_post_parent_id()
S
82 1 3
get_table_name_for_original_meta()
S
79 1 3
get_table_name_for_original_strings()
S
79 1 3
get_all_translation_blocks()
S
71 1 5
get_constant_block_type_deprecated()
S
81 1 3
get_constant_block_type_active()
S
81 1 3
get_constant_block_type_regular_string()
S
81 1 3
get_constant_human_reviewed()
S
81 1 3
get_constant_machine_translated()
S
81 1 3
get_constant_not_translated()
S
81 1 3
minimum_rows_with_status()
S
69 1 6