TRP_Query D

Total Complexity 245
Dependencies 1
Dependents 3
Total lines 1,599
Lines of code 960
Logical lines of code 616
Comment lines 398
Methods 67
Properties 9

Methods 67

Method Rating Maintainability Complexity Lines of code
update_gettext_strings()
A
42 15 49
get_string_rows()
A
44 15 43
get_existing_translations()
A
46 12 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
insert_gettext_strings()
S
49 7 29
maybe_record_automatic_translation_error()
S
54 7 22
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
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
get_string_ids()
S
56 4 16
get_gettext_string_rows_by_original()
S
56 4 16
get_gettext_string_rows_by_ids()
S
56 4 16
get_untranslated_strings()
S
56 4 16
original_ids_cleanup()
S
57 4 15
check_table()
S
50 3 30
original_ids_insert()
S
57 4 15
check_machine_translation_log_table()
S
52 3 28
table_exists()
S
62 4 11
get_all_gettext_strings()
S
64 4 8
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
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
table_column_exists()
S
64 2 10
remove_untranslated_strings_if_translation_available()
S
67 2 8
get_rows_from_location()
S
62 2 10
rename_originals_table()
S
66 2 8
get_language_code_from_table_name()
S
67 2 7
get_table_name()
S
69 2 6
remove_untranslated_strings_if_gettext_translation_available()
S
67 2 8
__construct()
S
74 1 5
delete_empty_gettext_strings()
S
71 1 5
clean_original_meta()
S
72 1 5
drop_table()
S
75 1 4
get_last_id()
S
75 1 4
get_table_name_for_original_meta()
S
79 1 3
get_remove_untranslated_links_query()
S
75 1 4
get_remove_cdata_query()
S
75 1 4
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_all_translation_blocks()
S
71 1 5
get_table_name_for_original_strings()
S
79 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_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