NMGR_Wordpress D

Total Complexity 192
Dependencies 7
Dependents 1
Total lines 878
Lines of code 633
Logical lines of code 267
Comment lines 151
Methods 33
Properties 0

Methods 33

Method Rating Maintainability Complexity Lines of code
register_post_types()
C
33 24 93
show_notice()
B
38 18 66
insert_post_data()
B
44 18 39
register_taxonomy()
A
42 13 55
enhance_wishlist_search()
A
43 11 43
set_add_to_wishlist_button_position()
A
50 8 27
add_rewrite_rules()
A
47 7 36
set_default_post_taxonomy()
A
56 8 17
maybe_set_wishlist_as_fulfilled()
S
56 6 18
maybe_set_user_id_cookie()
S
60 6 11
update_pagename()
S
62 6 11
delete_item_from_cart()
S
62 6 10
set_wishlist_archive_permalink()
S
61 5 12
add_extra_shipping_address_metadata()
S
60 5 12
before_save_wishlist()
S
61 5 12
enable_select_wishlist_type()
S
54 4 21
set_single_wishlist_permalink()
S
60 4 12
show_only_gift_registry_posts_on_post_type_archive_page()
S
62 4 11
add_shortcodes()
S
56 3 17
setup_item_purchased_action()
S
67 4 7
setup_item_fulfilled_action()
S
68 4 6
set_single_wishlist_document_title()
S
64 4 9
run()
S
47 1 35
login_redirect()
S
70 2 6
maybe_flush_rewrite_rules()
S
71 2 6
delete_user_wishlist_ids_cache()
S
70 2 6
setup_untrashed_action()
S
72 2 5
setup_trashed_action()
S
72 2 5
setup_delete_action()
S
72 2 5
setup_before_delete_post_action()
S
72 2 5
before_delete_wishlist()
S
68 2 7
query_vars()
S
76 1 4
add_image_sizes()
S
74 1 4