-
Home
-
myCred – Loyalty Points and Rewards plugin for WordPress and WooCommerce – Give Points, Ranks, Badges, Cashback, WooCommerce rewards, and WooCommerce credits for Gamification
-
2.6.2
-
Code
-
Classes
- myCRED_Payment_Gateway
Total Complexity |
271 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
2,130 |
Lines of code |
1,215 |
Logical lines of code |
562 |
Comment lines |
442 |
Methods |
72 |
Properties |
23 |
Methods 72
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
IPN_is_valid_sale() |
B |
45 |
25 |
36 |
valid_request() |
B |
43 |
17 |
42 |
list_option_countries() |
B |
21 |
3 |
250 |
get_page_header() |
A |
44 |
11 |
44 |
add_pending_payment() |
A |
44 |
10 |
41 |
checkout_logo() |
A |
55 |
11 |
17 |
IPN_has_required_fields() |
A |
51 |
10 |
27 |
get_cost() |
A |
50 |
10 |
26 |
__construct() |
A |
52 |
9 |
21 |
checkout_footer() |
A |
52 |
8 |
21 |
list_option_us_states() |
A |
39 |
5 |
64 |
get_recipient_id() |
S |
52 |
7 |
24 |
exchange_rate_setup() |
S |
51 |
7 |
23 |
populate_transaction() |
S |
50 |
6 |
30 |
currencies_dropdown() |
S |
44 |
5 |
40 |
exceeds_limit() |
S |
53 |
6 |
24 |
field_id() |
S |
57 |
6 |
16 |
field_name() |
S |
57 |
6 |
16 |
get_buyers_name() |
S |
59 |
6 |
12 |
list_option_card_years() |
S |
54 |
5 |
20 |
get_entry() |
S |
62 |
6 |
10 |
get_thankyou() |
S |
58 |
5 |
14 |
transaction_exists() |
S |
43 |
2 |
58 |
get_page_redirect() |
S |
54 |
4 |
19 |
item_types_dropdown() |
S |
56 |
4 |
16 |
complete_payment() |
S |
49 |
3 |
29 |
get_amount() |
S |
61 |
4 |
11 |
checkout_order() |
S |
51 |
3 |
26 |
list_option_months() |
S |
53 |
3 |
21 |
transaction_id_is_unique() |
S |
58 |
3 |
15 |
get_point_type() |
S |
65 |
4 |
9 |
get_log_entry() |
S |
67 |
3 |
7 |
get_errors() |
S |
64 |
3 |
9 |
checkout_header() |
S |
66 |
3 |
7 |
verify_token() |
S |
63 |
3 |
9 |
POST_to_data() |
S |
65 |
3 |
9 |
get_debug() |
S |
55 |
1 |
28 |
email_notice() |
S |
71 |
2 |
5 |
log_call() |
S |
72 |
2 |
5 |
create_unique_transaction_id() |
S |
65 |
2 |
8 |
new_log_entry() |
S |
72 |
2 |
5 |
decode_sales_data() |
S |
71 |
2 |
6 |
encode_sales_data() |
S |
71 |
2 |
6 |
form_with_redirect() |
S |
79 |
1 |
3 |
create_token() |
S |
79 |
1 |
3 |
IPN_is_valid_call() |
S |
82 |
1 |
3 |
log_entry() |
S |
79 |
1 |
3 |
purchase_footer() |
S |
82 |
1 |
3 |
checkout_cancel() |
S |
72 |
1 |
4 |
prep_sale() |
S |
98 |
1 |
1 |
send_json() |
S |
75 |
1 |
4 |
process() |
S |
98 |
1 |
1 |
returning() |
S |
98 |
1 |
1 |
ajax_buy() |
S |
98 |
1 |
1 |
buy() |
S |
98 |
1 |
1 |
admin_init() |
S |
98 |
1 |
1 |
preferences() |
S |
82 |
1 |
3 |
sanitise_preferences() |
S |
82 |
1 |
3 |
checkout_transaction_id() |
S |
73 |
1 |
4 |
checkout_page_title() |
S |
98 |
1 |
1 |
get_page_footer() |
S |
72 |
1 |
7 |
checkout_page_body() |
S |
98 |
1 |
1 |
checkout_page_footer() |
S |
98 |
1 |
1 |
first_comment() |
S |
82 |
1 |
3 |
get_pending_payment() |
S |
75 |
1 |
4 |
get_to() |
S |
81 |
1 |
3 |
get_cancelled() |
S |
70 |
1 |
6 |
callback_url() |
S |
74 |
1 |
4 |
start_log() |
S |
73 |
1 |
5 |
save_log_entry() |
S |
65 |
1 |
9 |
purchase_header() |
S |
80 |
1 |
3 |
trash_pending_payment() |
S |
80 |
1 |
3 |