Metasync_Public D

Total Complexity 494
Dependencies 14
Dependents 2
Total lines 3,013
Lines of code 2,074
Logical lines of code 1,052
Comment lines 507
Methods 59
Properties 8

Methods 59

Method Rating Maintainability Complexity Lines of code
update_items()
D
15
85 217
create_item()
D
17
81 177
hook_metasync_metatags()
D
29 35 105
update_object()
C
39 26 60
metasync_register_rest_routes()
C
23
9 307
metasync_upload_post_content()
B
30 16 125
htmlToElementorBlock()
B
38 17 63
htmlToGutenbergBlock()
B
34 12 106
create_page()
A
42 15 48
update_page()
A
43 14 47
htmlToDiviBlock()
A
43 13 40
convertNodeToContentBlock()
A
39 9 67
get_post_data()
A
45 9 41
diviBlockData()
A
55 10 16
elementorBlockData()
A
56 10 15
hide_title_on_otto_pages()
S
60 8 12
elementor_getElement()
S
51 7 25
metasync_handle_hero_image()
S
58 6 15
otto_header_data()
S
52 5 23
add_ld_json()
S
47 4 35
filter_post_attributes()
S
57 5 16
handle_sso_callback()
S
52 4 24
mark_sso_nonce_used()
S
53 4 23
validate_sso_nonce_token()
S
59 4 15
metasyn_otto_ajax()
S
59 4 14
get_errorlogs()
S
58 4 14
gutenbergBlockData()
S
58 4 14
build_category_hierarchy()
S
61 4 13
get_items()
S
53 3 26
style_meta_data()
S
62 4 11
delete_item()
S
55 3 20
facebook_graph_cache()
S
58 3 16
append_content_if_missing_elements()
S
58 3 16
enqueue_scripts()
S
57 3 14
convertFromHTMLToContentBlocks()
S
60 3 13
linkgraph_login()
S
59 3 13
rest_authorization_middleware()
S
62 3 11
validate_sso_callback_permission()
S
62 3 11
get_item_schema()
S
54 2 23
get_pages_list()
S
55 2 20
metasync_set_post_tags()
S
57 2 18
enqueue_styles()
S
68 3 6
get_post_author_id()
S
65 3 9
metasync_plugin_links()
S
62 3 10
metasync_handle_post_category()
S
59 2 14
print_metatag()
S
63 2 12
__construct()
S
52 1 26
lgSendCustomerPostParams()
S
62 2 11
get_random_user_id_by_roles()
S
64 2 9
elementor_getItems()
S
65 2 9
elementor_convertToDraftJS()
S
65 2 9
sync_heartbeat_data()
S
66 2 9
get_heartbeat_errorlogs()
S
67 2 8
wp_robots_meta()
S
71 2 6
post_categories()
S
60 1 14
set_landing_page()
S
58 1 14
shortcodes_init()
S
64 1 11
metasync_plugin_init()
S
78 1 4
delete_page()
S
76 1 4