Paymentsense_Base D

Total Complexity 214
Dependencies 4
Dependents 1
Total lines 1,754
Lines of code 1,019
Logical lines of code 477
Comment lines 535
Methods 72
Properties 15

Methods 72

Method Rating Maintainability Complexity Lines of code
get_order_property()
C
34 31 81
process_refund()
B
34 14 93
perform_test_transaction()
A
39 10 67
get_connection_status_message()
A
43 8 57
get_connection_status_code()
A
52 9 26
calculate_hash_digest()
A
51 8 28
check_gateway_settings()
A
44 6 48
send_transaction()
S
46 5 40
get_http_var()
S
57 6 17
build_hpf_fields()
S
52 5 24
get_module_latest_version()
S
55 5 20
build_variables_string()
S
47 3 41
output_info()
S
55 4 20
__construct()
S
53 4 20
get_file_checksums()
S
59 4 14
convert_array_to_string()
S
59 4 14
retrieve_plugin_data()
S
63 4 11
apply_length_restrictions()
S
53 3 23
process_info_request()
S
54 3 22
build_payment_fields()
S
46 2 36
get_gateway_connection_details()
S
59 3 15
within_payment_method_timeframe()
S
59 3 14
get_system_time_status()
S
63 3 11
build_sample_payment_fields()
S
49 1 33
get_warning_message()
S
69 3 6
get_system_time_message()
S
67 3 8
filter_unsupported_chars()
S
62 2 11
get_xml_cross_reference()
S
68 2 7
get_xml_value()
S
67 2 7
get_hpf_error_message()
S
68 2 7
get_hostname()
S
74 2 4
get_system_time_diff()
S
66 2 9
retrieve_date()
S
66 2 8
get_module_name()
S
73 2 5
get_module_installed_version()
S
73 2 5
merchant_credentials_invalid()
S
75 2 4
is_hash_digest_valid()
S
63 2 10
should_retry_txn()
S
75 2 4
get_module_info_url()
S
70 2 6
calculate_date_diff()
S
66 2 8
build_error_system_time_message()
S
63 1 13
admin_options()
S
63 1 12
get_system_time_threshold()
S
82 1 3
build_datetime_pair()
S
76 1 4
get_gateway_entry_points()
S
82 1 3
get_datetime_pairs()
S
82 1 3
add_datetime_pair()
S
75 1 4
html_decode()
S
68 1 7
merchant_id_format_valid()
S
79 1 3
replace_ampersand()
S
79 1 3
contains()
S
78 1 3
get_payment_form_url()
S
82 1 3
is_info_request()
S
78 1 3
build_message()
S
68 1 8
get_connection_settings_message()
S
100 1 0
is_connection_info_request()
S
78 1 3
process_checksums_request()
S
71 1 6
process_connection_info_request()
S
70 1 6
output_message()
S
69 1 8
show_output()
S
74 1 4
get_wp_version()
S
80 1 3
get_wc_version()
S
81 1 3
is_connection_secure()
S
81 1 3
getSettingsTextMessage()
S
80 1 3
build_success_connection_message()
S
79 1 3
build_warning_connection_message()
S
79 1 3
build_error_connection_message()
S
79 1 3
build_success_settings_message()
S
79 1 3
build_warning_settings_message()
S
79 1 3
build_error_settings_message()
S
79 1 3
is_checksums_request()
S
78 1 3
get_php_version()
S
81 1 3