MPG_Helper D

Total Complexity 171
Dependencies 15
Dependents 11
Total lines 857
Lines of code 576
Logical lines of code 366
Comment lines 144
Methods 37
Properties 1

Methods 37

Method Rating Maintainability Complexity Lines of code
mpg_pre_get_posts()
A
39 14 58
mpg_live_project_data_update()
A
45 14 39
mpg_activation_events()
A
44 13 44
is_edited_post_a_template()
A
47 13 35
mpg_admin_assets_enqueue()
A
41 12 47
register_internal_pages()
A
49 11 31
mpg_posts_results()
A
50 11 27
mpg_get_dataset_array()
A
50 9 28
block_editor_assets_enqueue()
S
49 7 29
get_survey_metadata()
S
48 6 31
mpg_get_direct_csv_link()
S
56 6 17
extract_worksheet_from_url()
S
58 5 16
generate_path_variants()
S
57 5 16
array_flatten()
S
60 4 14
slugify_strings()
S
60 4 13
mpg_get_spout_reader_by_extension()
S
60 4 13
get_webhook_key()
S
77 3 3
mpg_get_extension_by_path()
S
62 3 10
extract_documentid_from_url()
S
65 3 9
mpg_prepare_post_excerpt()
S
59 2 14
mpg_get_request_uri()
S
61 2 11
mpg_front_assets_enqueue()
S
63 2 10
is_mpg_single()
S
79 2 3
mpg_found_posts()
S
75 2 4
mpg_unique_array_by_field_value()
S
67 2 8
get_webhook_url()
S
77 1 3
mpg_set_deactivation_option()
S
80 1 3
get_live_update_interval()
S
78 1 3
mpg_send_analytics_data()
S
81 1 3
mpg_cron_weekly()
S
67 1 7
mpg_string_end_with()
S
78 1 3
register_survey()
S
80 1 3
mpg_cron_monthly()
S
67 1 7
mpg_string_start_with()
S
78 1 3
mpg_set_language_folder_path()
S
77 1 3
mpg_header_code_container()
S
77 1 4
init()
S
73 1 4