WPBDP_Payment A

Total Complexity 74
Dependencies 3
Dependents 13
Total lines 444
Lines of code 307
Logical lines of code 144
Comment lines 59
Methods 35
Properties 3

Methods 35

Method Rating Maintainability Complexity Lines of code
before_save()
S
55 7 18
after_save()
S
51 6 27
get_summary()
S
53 6 23
fill_from_listing()
S
55 5 20
save_created_at()
S
63 4 10
set_attr()
S
64 4 9
get_payer_details()
S
57 2 17
get_checkout_url()
S
68 3 7
find_item()
S
67 3 8
get_payer_address()
S
64 3 9
process_as_admin()
S
60 2 13
get_payment_notes()
S
64 2 11
show_payment_options()
S
79 2 3
get_listing()
S
71 2 6
get_gateway_link()
S
67 2 8
get_return_url()
S
64 2 10
get_defaults()
S
61 1 13
after_delete()
S
64 1 11
set_payment_method()
S
77 1 4
objects()
S
79 1 3
is_canceled()
S
75 1 4
get_status_label()
S
75 1 4
get_stati()
S
63 1 10
has_been_processed()
S
80 1 3
maybe_set_test_mode()
S
79 1 3
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
67 1 8
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