SI_Payment A

Total Complexity 65
Dependencies 2
Dependents 22
Total lines 421
Lines of code 281
Logical lines of code 120
Comment lines 86
Methods 36
Properties 2

Methods 36

Method Rating Maintainability Complexity Lines of code
new_payment()
S
46 5 40
get_instance()
S
62 6 11
is_active()
S
59 5 16
get_payments()
S
58 4 16
maybe_paid_deposit()
S
63 4 10
get_client()
S
63 3 11
get_pending_payments()
S
55 2 20
register_post_statuses()
S
54 2 20
set_data()
S
67 2 8
cancel()
S
64 2 10
maybe_partial_payment()
S
71 2 6
is_recurring()
S
71 2 6
set_type()
S
67 2 8
set_tracking()
S
67 2 8
init()
S
63 1 11
set_invoice_id()
S
73 1 5
get_tracking()
S
79 1 3
__construct()
S
80 1 3
get_payments_for_purchase()
S
74 1 4
get_status()
S
82 1 3
set_status()
S
73 1 5
set_purchase()
S
73 1 5
get_purchase()
S
79 1 3
set_payment_method()
S
73 1 5
get_type()
S
79 1 3
get_payment_method()
S
79 1 3
get_invoice_id()
S
79 1 3
get_shipping_address()
S
79 1 3
set_shipping_address()
S
73 1 5
get_transaction_id()
S
79 1 3
set_transaction_id()
S
73 1 5
get_source()
S
79 1 3
set_source()
S
73 1 5
set_amount()
S
73 1 5
get_amount()
S
79 1 3
get_data()
S
79 1 3