PrliStripeController D

Total Complexity 259
Dependencies 7
Dependents 0
Total lines 1,145
Lines of code 907
Logical lines of code 441
Comment lines 32
Methods 29
Properties 0

Methods 29

Method Rating Maintainability Complexity Lines of code
redirect()
C
31 28 101
configure_customer_portal()
C
33 23 90
search_stripe_prices()
B
35 22 82
display_invoice()
B
38 21 57
setup_edit_vars()
B
38 14 82
validate_product_data()
A
45 14 37
prepare_initial_args()
A
49 14 27
update_link()
A
39 10 73
a99_f33_9c7()
A
45 10 39
customer_portal_notice()
A
56 11 17
validate_link_options()
A
56 9 16
add_product()
A
48 8 30
sanitize_product_data()
A
60 9 12
get_recurring_data()
S
52 7 26
send_stripe_request()
S
47 6 35
customer_portal_redirect()
S
54 7 19
setup_new_vars()
S
55 7 16
sanitize_line_items_json()
S
59 5 15
check_customer_portal_wizard()
S
63 5 10
get_success_url()
S
58 4 15
enqueue_invoice_style()
S
67 5 6
sanitize_shipping_countries()
S
62 4 12
get_headers()
S
55 3 18
dismiss_customer_portal_notice()
S
67 4 7
display_customer_portal_error()
S
59 2 18
get_user_agent()
S
60 2 13
search_price_by_id()
S
63 2 11
load_hooks()
S
56 1 17
link_settings()
S
71 2 6