Mo_SAML_Utilities D

Total Complexity 145
Dependencies 26
Dependents 34
Total lines 1,011
Lines of code 585
Logical lines of code 346
Comment lines 339
Methods 46
Properties 0

Methods 46

Method Rating Maintainability Complexity Lines of code
mo_saml_validate_element()
A
44 10 44
mo_saml_process_response()
A
51 8 24
mo_saml_validate_issuer_and_audience()
A
44 6 49
mo_saml_get_current_page_url()
A
55 8 16
mo_saml_is_plugin_page()
S
57 8 14
mo_saml_verify_time_window()
S
57 7 16
mo_saml_validate_signature()
S
53 6 21
mo_saml_extension_disabled_modal()
S
51 5 29
mo_saml_check_sign()
S
50 5 28
mo_saml_xp_query()
S
52 5 23
mo_saml_safe_load_xml()
S
53 5 22
mo_saml_cast_key()
S
56 4 17
mo_saml_check_empty_or_null()
S
67 4 8
mo_saml_extract_strings()
S
63 4 10
mo_saml_create_authn_request()
S
56 2 17
mo_saml_xs_date_time_to_timestamp()
S
56 2 16
mo_saml_handle_xml_error()
S
67 3 7
mo_saml_sanitize_post_array()
S
64 3 10
mo_saml_display_extension_error()
S
64 3 10
mo_saml_get_sp_base_url()
S
64 3 10
mo_saml_parse_name_id()
S
64 3 9
mo_saml_get_disabled_extensions()
S
64 3 10
mo_saml_find_certificate()
S
61 2 12
mo_saml_is_dom_installed()
S
69 2 7
mo_saml_is_openssl_installed()
S
69 2 7
mo_saml_is_iconv_installed()
S
69 2 7
mo_saml_get_sp_entity_id()
S
68 2 7
mo_saml_is_curl_installed()
S
70 2 6
mo_safe_file_get_contents()
S
65 2 10
mo_saml_wp_remote_get()
S
64 2 9
mo_saml_wp_remote_post()
S
63 2 10
mo_saml_string_to_hex()
S
65 2 8
mo_handle_file_content_error()
S
65 2 9
mo_saml_generate_time_stamp()
S
70 2 6
mo_saml_required_extensions_installed()
S
77 2 3
mo_saml_is_sp_configured()
S
67 2 8
mo_saml_success_message()
S
59 1 14
mo_saml_error_message()
S
61 1 12
mo_saml_get_plugin_dir_url()
S
80 1 3
mo_saml_generate_id()
S
79 1 3
mo_saml_show_success_message()
S
75 1 4
mo_saml_show_error_message()
S
75 1 4
mo_saml_sanitize_certificate()
S
63 1 10
mo_saml_check_required_extensions_installed()
S
71 1 5
mo_saml_generate_random_bytes()
S
76 1 4
mo_saml_desanitize_certificate()
S
68 1 7