Chip_Fluent_Forms_Purchase A

Total Complexity 62
Dependencies 7
Dependents 0
Total lines 493
Lines of code 367
Logical lines of code 170
Comment lines 6
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
refund_callback()
A
42 11 49
handlePaid()
A
42 7 53
create_purchase()
A
35 4 95
redirect()
S
49 7 30
success_callback()
S
52 6 24
get_settings()
S
57 5 15
handleSessionRedirectBack()
S
52 4 25
callback()
S
64 4 10
handleRefund()
S
66 2 8
get_instance()
S
71 2 6
get_timezone()
S
71 2 6
is_form_currency_supported()
S
69 2 6
handlePaymentAction()
S
58 1 15
validate_if_subscription()
S
69 2 7
__construct()
S
82 1 3
handleFailed()
S
64 1 10
add_action()
S
71 1 5