WPTC_DatabaseBackup D

Total Complexity 194
Dependencies 5
Dependents 2
Total lines 1,087
Lines of code 758
Logical lines of code 532
Comment lines 56
Methods 37
Properties 9

Methods 37

Method Rating Maintainability Complexity Lines of code
encrypt()
C
28
27 130
backup_database_table()
B
35 20 76
wptc_exec()
A
49 14 31
backup_specific_column_of_table()
A
43 13 43
collect_tables_for_backup()
A
47 9 39
gz_compress_file()
A
46 7 39
create_row_insert_values()
A
55 8 19
check_is_shell_db_dump_running()
S
53 7 24
shell_db_dump()
S
56 6 19
compress()
S
55 6 18
backup_db_dump()
S
56 6 17
execute()
S
49 5 31
check_mysql_paths()
S
51 5 26
backup_trigger_table()
S
53 5 23
persist()
S
55 5 20
get_file()
S
56 4 18
exec_mysqldump()
S
58 4 13
get_status()
S
62 4 13
write_db_dump_header()
S
48 2 33
mysqldump_full_tables()
S
58 3 16
is_shell_exec_available()
S
65 4 8
write_to_temp()
S
66 3 8
prepare_table_bulk_insert()
S
65 3 8
is_wp_table()
S
66 3 8
quote_and_esc_sql()
S
69 3 6
modify_table_description()
S
67 2 8
__construct()
S
63 2 10
mysqldump_structure_only_tables()
S
66 2 8
init_query_limit()
S
69 2 7
save_colllected_tables_size()
S
70 2 6
get_colllected_tables_offset()
S
75 2 4
is_wp_version_greater_than_4_8_3()
S
79 1 3
create_row_insert_statement()
S
69 1 6
save_colllected_tables()
S
69 1 6
is_already_inserted()
S
72 1 5
set_wait_timeout()
S
80 1 3
complete_all_tables()
S
70 1 6