Code Analysis: LearnPress - Course Wishlist 4.0.0

Function Rating Maintainability Complexity Lines of code
LP_Addon_Wishlist::toggle_course_wishlist()
A
44 14 42
LP_Addon_Wishlist::wishlist_button()
S
56 6 17
learn_press_update_wish_list()
S
60 5 14
LP_Addon_Wishlist::get_wishlist_courses()
S
55 3 20
learn_press_course_wishlist_loop_stars()
S
62 3 12
learn_press_user_wishlist_has_course()
S
64 3 10
learn_press_buddypress_is_active()
S
69 3 6
learn_press_wishlist_tab()
S
61 2 12
LP_Addon_Wishlist_Preload::admin_notices()
S
54 1 26
LP_Addon_Wishlist::_get_state_message()
S
77 2 3
LP_Addon_Wishlist::_get_state_title()
S
77 2 3
learn_press_bp_courses_nav_wishlist()
S
60 1 13
learn_press_bp_courses_bar_wishlist()
S
62 1 11
learn_press_bp_courses_wishlist_title()
S
80 1 3
LP_Addon_Wishlist::rewrite_endpoint()
S
71 1 5
learn_press_wishlist_get_template()
S
78 1 3
LP_Addon_Wishlist_Preload::load()
S
69 1 6
learn_press_wishlist_loop_item_title()
S
82 1 3
LP_Addon_Wishlist::wishlist_tab_content()
S
67 1 9
learn_press_course_wishlist_template()
S
80 1 3
LP_Addon_Wishlist::_enqueue_assets()
S
73 1 4
LP_Addon_Wishlist::get_tab_slug()
S
79 1 3
LP_Addon_Wishlist::_includes()
S
80 1 3
LP_Addon_Wishlist::_define_constants()
S
79 1 5
LP_Addon_Wishlist::profile_tab_endpoints()
S
76 1 4
LP_Addon_Wishlist::__construct()
S
71 1 5
LP_Addon_Wishlist_Preload::__construct()
S
75 1 4
learn_press_bp_courses_wishlist_content()
S
75 1 4
LP_Addon_Wishlist::_init_hooks()
S
70 1 6
LP_Addon_Wishlist::wishlist_tab()
S
65 1 9
learn_press_user_wishlist_tab_content()
S
70 1 6
learn_press_bp_courses_wishlist()
S
72 1 5