EDD_Stripe_Rate_Limiting S

Total Complexity 33
Dependencies 0
Dependents 1
Total lines 364
Lines of code 125
Logical lines of code 75
Comment lines 169
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
has_hit_card_error_limit()
S
57 5 16
get_file()
S
61 3 13
listen_for_recurring_card_errors()
S
70 3 6
increment_card_error_count()
S
63 2 11
write_to_log()
S
71 2 6
maybe_hide_purchase_button()
S
72 2 6
setup_log_file()
S
66 2 8
get_decoded_file()
S
69 2 7
get_rate_limiting_entry()
S
67 2 8
get_card_error_count()
S
65 2 9
get_file_contents()
S
81 1 3
__construct()
S
78 1 4
get_card_error_id()
S
81 1 3
card_error_checks_enabled()
S
73 1 5
actions()
S
74 1 4
remove_log_entry()
S
73 1 5
filters()
S
79 1 3
update_rate_limiting_count()
S
66 1 8