-
Home
-
myCred – Points Management System For Gamification, Ranks, Badges, and Loyalty Program.
-
2.6
-
Code
-
Classes
- myCRED_Payment_Gateway
| Total Complexity |
272 |
| 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 |
43 |
11 |
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_name() |
S |
57 |
6 |
16 |
| field_id() |
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 |
| checkout_order() |
S |
51 |
3 |
26 |
| get_amount() |
S |
61 |
4 |
11 |
| list_option_months() |
S |
53 |
3 |
21 |
| get_point_type() |
S |
65 |
4 |
9 |
| transaction_id_is_unique() |
S |
58 |
3 |
15 |
| checkout_header() |
S |
66 |
3 |
7 |
| get_log_entry() |
S |
67 |
3 |
7 |
| get_errors() |
S |
64 |
3 |
9 |
| POST_to_data() |
S |
65 |
3 |
9 |
| verify_token() |
S |
63 |
3 |
9 |
| get_debug() |
S |
55 |
1 |
28 |
| log_call() |
S |
72 |
2 |
5 |
| new_log_entry() |
S |
72 |
2 |
5 |
| create_unique_transaction_id() |
S |
65 |
2 |
8 |
| encode_sales_data() |
S |
71 |
2 |
6 |
| decode_sales_data() |
S |
71 |
2 |
6 |
| email_notice() |
S |
71 |
2 |
5 |
| 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_cancel() |
S |
72 |
1 |
4 |
| checkout_page_title() |
S |
98 |
1 |
1 |
| 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 |
| log_entry() |
S |
79 |
1 |
3 |
| 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 |
| get_page_footer() |
S |
72 |
1 |
7 |
| purchase_footer() |
S |
82 |
1 |
3 |
| form_with_redirect() |
S |
79 |
1 |
3 |
| create_token() |
S |
79 |
1 |
3 |
| IPN_is_valid_call() |
S |
82 |
1 |
3 |
| trash_pending_payment() |
S |
80 |
1 |
3 |