LP_Request C

Total Complexity 124
Dependencies 5
Dependents 32
Total lines 846
Lines of code 440
Logical lines of code 266
Comment lines 286
Methods 31
Properties 1

Methods 31

Method Rating Maintainability Complexity Lines of code
purchase_course()
C
34 28 91
get()
A
43 13 47
register_ajax()
A
53 8 20
do_checkout()
A
48 7 34
maybe_redirect_checkout()
S
53 7 24
do_ajax()
S
54 7 22
do_enroll()
S
48 6 35
register()
S
58 5 14
maybe_redirect_enroll()
S
60 5 13
check_checkout_page()
S
58 4 17
parse_action()
S
60 3 13
get_list_array()
S
61 3 12
init()
S
54 2 20
process_request()
S
66 3 8
get_list()
S
64 3 10
verify_nonce()
S
77 2 3
maybe_enroll_course()
S
70 2 6
get_email()
S
68 2 7
get_redirect()
S
67 2 8
get_string()
S
78 1 3
get_array()
S
78 1 3
get_post()
S
78 1 3
get_bool()
S
78 1 3
get_post_float()
S
78 1 3
get_post_bool()
S
78 1 3
get_post_string()
S
78 1 3
get_post_array()
S
78 1 3
get_float()
S
78 1 3
get_int()
S
78 1 3
get_header()
S
81 1 3
get_post_int()
S
78 1 3