Chip_Fluent_Forms_Purchase A

Total Complexity 74
Dependencies 8
Dependents 0
Total lines 587
Lines of code 447
Logical lines of code 192
Comment lines 8
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
create_purchase()
B
29 10 146
refund_callback()
A
41 11 53
get_settings()
A
52 11 21
handlePaid()
A
40 7 64
redirect()
A
48 7 31
success_callback()
S
51 6 25
handleSessionRedirectBack()
S
52 4 25
callback()
S
64 4 10
handlePaymentAction()
S
56 1 18
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
validate_if_subscription()
S
65 2 10
handleFailed()
S
64 1 10
__construct()
S
82 1 3
add_action()
S
71 1 5