RM_DBManager D

Total Complexity 538
Dependencies 10
Dependents 40
Total lines 2,961
Lines of code 2,219
Logical lines of code 1,543
Comment lines 168
Methods 127
Properties 1

Methods 127

Method Rating Maintainability Complexity Lines of code
get_payments()
D
29 33 120
get_submissions()
D
30 32 116
get_results_for_last()
D
30 31 113
add_filter_queries()
C
36 26 79
get_results_for_last_col()
B
34 21 93
get_sent_emails()
B
34 21 88
get()
B
39 20 60
get_login_log_results()
A
39 13 61
count_multiple()
A
40 11 58
sidebar_user_search()
A
44 11 45
count_login_log_results()
A
42 9 50
group_by_total()
A
44 9 46
count()
A
44 9 46
search_submissions_for()
A
47 9 32
get_rows_fields_by_form_id()
A
50 8 28
get_average_value()
A
46 7 40
get_all_form_attachments()
A
48 7 31
get_submissions_for_form()
S
52 7 22
get_submissions_for_user()
S
53 7 22
reset_all_tables()
S
40 4 66
set_row_column_order()
S
57 7 15
get_latest_submission_for_user()
S
49 6 29
update_row()
S
51 6 26
delete_front_user()
S
53 6 22
remove_row()
S
55 6 18
is_expired_by_date()
S
51 5 24
set_field_order()
S
56 5 18
set_row_order()
S
56 5 18
get_fields_for_submission()
S
58 5 15
delete_form_notes()
S
53 4 21
count_failed_login_attempt()
S
55 4 18
get_generic()
S
56 4 17
set_login_field_order()
S
57 4 17
run_query()
S
65 5 8
delete_form_submissions()
S
59 4 13
get_rows_by_form_id()
S
59 4 13
delete_all_tables()
S
47 2 42
get_latest_submission_from_group()
S
61 4 11
unblock_ip_from_login_logs()
S
55 3 18
get_login_fields_details()
S
57 3 17
get_oldest_submission_from_group()
S
57 3 16
update_form_published_pages()
S
62 4 10
insert_row()
S
59 3 14
get_primary_fields_by_type()
S
58 3 14
get_primary_fields_id()
S
60 3 13
get_row_count_by_form_id()
S
59 3 13
delete_login_log_records()
S
60 3 12
remove_expired_bans()
S
60 3 12
delete_form_fields()
S
61 3 11
delete_form_payment_logs()
S
61 3 11
delete_form_stats()
S
61 3 11
delete_form_rows()
S
61 3 11
add_form_published_pages()
S
57 2 17
get_instance()
S
68 3 7
get_fields_by_form_id()
S
62 3 10
get_fields_filtered_by_types()
S
60 2 12
get_ip_from_login()
S
62 2 11
count_login_field()
S
62 2 11
is_expired_by_submissions()
S
62 2 11
get_all_notes_for_submission()
S
73 2 5
update_custom_statuses()
S
72 2 5
get_submissions_with_note()
S
73 2 5
search_submissions_for_custom_status()
S
75 2 4
set_form_page_order()
S
73 2 5
get_mailpoet_forms()
S
74 2 5
get_visitors_count()
S
67 2 7
is_allowed_by_custom_status()
S
73 2 5
remove_custom_status_from_submissions()
S
73 2 5
get_edd_user_details()
S
73 2 5
get_submissions_by_payment_type()
S
73 2 5
get_submission_read_count()
S
72 2 5
get_all_submission_read_count()
S
73 2 5
get_blocked_submission()
S
73 2 5
get_row()
S
64 2 9
delete_ip_from_stats()
S
62 2 10
get_ip_from_stats()
S
65 2 8
get_custom_statuses()
S
73 2 5
get_recent_edd_orders_for_user()
S
73 2 5
get_recent_submissions_for_user()
S
73 2 5
get_login_success_rate()
S
63 2 10
get_all_form_reports_attachments()
S
70 2 6
update_read_status_all_submissions()
S
71 2 6
add_quick_row_in_form()
S
58 1 15
insert_login_log()
S
63 2 8
delete_rows()
S
63 2 10
update_unread_status_submission()
S
71 2 6
get_login_log()
S
66 2 7
get_mailpoet_fields()
S
73 2 5
get_payment_details()
S
65 2 8
get_mailpoet_lists()
S
73 2 5
get_sub_fields_for_array()
S
59 1 13
remove_fields_for_page()
S
71 1 5
remove_rows_for_page()
S
71 1 5
delete_submissions_by_id()
S
67 1 7
delete_sent_emails()
S
71 1 5
get_all_user_meta()
S
69 1 6
get_reports()
S
75 1 3
get_single_reports()
S
89 1 2
__wakeup()
S
91 1 2
delete_payment_by_submissions_by_id()
S
71 1 5
__clone()
S
91 1 2
get_total_revenue_by_user_email()
S
66 1 7
get_recents_payments_by_formid()
S
65 1 7
get_form_id_by_field_id()
S
71 1 5
reset_login_log()
S
70 1 6
delete_notes_by_id()
S
71 1 5
update_last_activity()
S
71 1 5
update_login_log()
S
76 1 3
check_fa_otp_expired()
S
67 1 7
delete_expired_otp()
S
74 1 4
insert_login_form_options()
S
73 1 4
query_login_form()
S
74 1 4
delete_login_log_days()
S
68 1 6
__construct()
S
91 1 2
update_login_form_options()
S
71 1 5
delete_and_reset_table()
S
80 1 3
delete_login_log_by_email()
S
71 1 5
count_login_log()
S
70 1 6
get_results_for_array()
S
62 1 10
get_login_log_by_email()
S
69 1 6
update_submission_group_last_child()
S
71 1 5
get_all()
S
76 1 3
consecutive_incorrect_otp_attempts()
S
69 1 6
get_submissions_payment_status()
S
66 1 8
get_field_by_type()
S
69 1 6
get_last_submission()
S
70 1 6
get_recents_payments_by_email()
S
63 1 8