TRP_Query D

Total Complexity 243
Dependencies 1
Dependents 5
Total lines 1,564
Lines of code 920
Logical lines of code 584
Comment lines 407
Methods 70
Properties 13

Methods 70

Method Rating Maintainability Complexity Lines of code
get_string_rows()
A
44 15 43
get_existing_translations()
A
46 14 33
update_strings()
A
43 10 46
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
maybe_record_automatic_translation_error()
S
54 7 22
get_all_gettext_strings()
S
59 6 12
insert_strings()
S
51 5 25
remove_cdata_in_original_and_dictionary_tables()
S
54 5 24
original_ids_reindex()
S
53 5 19
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
get_all_gettext_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
regenerate_original_meta_table()
S
56 4 17
check_table()
S
49 3 32
get_gettext_string_rows_by_original_id()
S
56 4 16
get_gettext_string_rows_by_ids()
S
56 4 16
get_string_ids()
S
56 4 16
get_untranslated_strings()
S
56 4 16
get_gettext_string_rows_by_original()
S
56 4 16
original_ids_insert()
S
57 4 15
get_table_name()
S
63 5 9
original_ids_cleanup()
S
57 4 15
check_machine_translation_log_table()
S
52 3 28
table_exists()
S
62 4 11
get_all_translation_blocks()
S
59 3 14
remove_untranslated_links_in_dictionary_table()
S
60 3 14
remove_duplicate_rows_in_gettext_table()
S
60 3 14
remove_duplicate_rows_in_dictionary_table()
S
60 3 14
update_translation_blocks_by_original()
S
59 3 13
copy_all_translation_blocks_into_table()
S
59 3 13
check_original_meta_table()
S
56 2 19
get_db_sql_version()
S
68 3 7
check_original_table()
S
59 2 14
remove_untranslated_strings_if_translation_available()
S
67 2 8
remove_untranslated_strings_if_gettext_translation_available()
S
67 2 8
is_gettext_normalized()
S
70 2 6
get_gettext_table_name()
S
69 2 6
get_rows_from_location()
S
62 2 10
get_language_code_from_table_name()
S
67 2 7
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
minimum_rows_with_status()
S
69 1 6
get_remove_untranslated_links_query()
S
75 1 4
__construct()
S
67 1 8
get_remove_cdata_query()
S
75 1 4
get_all_gettext_translated_strings()
S
71 1 5
get_query_component()
S
82 1 3
get_table_name_for_gettext_original_meta()
S
79 1 3
get_table_name_for_gettext_original_strings()
S
79 1 3
get_table_name_for_original_meta()
S
78 1 3
get_table_name_for_original_strings()
S
78 1 3
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_similar_translated()
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
get_meta_key_for_post_parent_id()
S
82 1 3