WPBDP_Payment A

Total Complexity 68
Dependencies 2
Dependents 13
Total lines 411
Lines of code 290
Logical lines of code 134
Comment lines 48
Methods 33
Properties 3

Methods 33

Method Rating Maintainability Complexity Lines of code
after_save()
S
51 6 27
get_summary()
S
53 6 23
before_save()
S
57 6 15
fill_from_listing()
S
55 5 20
set_attr()
S
64 4 9
get_payer_details()
S
57 2 17
get_checkout_url()
S
68 3 7
get_payer_address()
S
64 3 9
find_item()
S
67 3 8
process_as_admin()
S
60 2 13
get_payment_notes()
S
64 2 11
get_return_url()
S
64 2 10
get_listing()
S
71 2 6
show_payment_options()
S
79 2 3
get_gateway_link()
S
67 2 8
get_defaults()
S
61 1 13
after_delete()
S
64 1 11
get_status_label()
S
75 1 4
get_stati()
S
63 1 10
objects()
S
79 1 3
has_been_processed()
S
80 1 3
is_canceled()
S
75 1 4
set_payment_method()
S
77 1 4
is_completed()
S
80 1 3
log()
S
65 1 10
get_cancel_url()
S
79 1 3
get_admin_url()
S
79 1 3
is_pending()
S
80 1 3
prepare_row()
S
69 1 7
has_item_type()
S
74 1 4
get_created_at_time()
S
69 1 7
get_created_at_date()
S
67 1 8
is_rejected()
S
76 1 4