Code Analysis: myCred - LifterLMS Integration 1.2

Function Rating Maintainability Complexity Lines of code
myCRED_LifterLMS_Course::sanitise_preferences()
A
54 10 21
myCRED_LifterLMS_Quiz::sanitise_preferences()
A
54 10 21
LLMS_Notification_View_Mycred_Points::set_merge_data()
A
48 9 32
myCRED_LifterLMS_Course::preferences()
A
34 1 149
myCRED_LifterLMS_Quiz::preferences()
A
34 1 149
myCRED_LifterLMS::__construct()
S
58 5 15
myCRED_LifterLMS_Achievement::user_earned_achievement()
S
56 4 18
myCRED_LifterLMS_Certificate::user_earned_certificate()
S
56 4 18
myCRED_LifterLMS_Membership::user_added_to_membership_level()
S
58 4 15
myCRED_LifterLMS_Quiz::quiz_passed()
S
58 4 15
myCRED_LifterLMS_Course::course_completed()
S
58 4 15
myCRED_LifterLMS_Quiz::quiz_failed()
S
58 4 15
myCRED_LifterLMS_Quiz::quiz_completed()
S
58 4 15
myCRED_LifterLMS_Lesson::lesson_completed()
S
58 4 15
myCRED_LifterLMS_Section::section_completed()
S
58 4 15
myCRED_LifterLMS_Course::course_track_completed()
S
58 4 15
myCRED_LifterLMS_Course::user_enrolled_in_course()
S
58 4 15
myCRED_LifterLMS_Plan::access_plan_purchased()
S
58 4 15
myCRED_LifterLMS_Endpoint::array_insert_after()
S
61 4 13
myCRED_LifterLMS_Quiz::run()
S
62 4 11
myCRED_LifterLMS_Endpoint::dashboard_title_my_balance()
S
61 4 11
myCRED_LifterLMS_Course::run()
S
62 4 11
myCRED_LifterLMS_Achievement::preferences()
S
45 1 52
myCRED_LifterLMS_Certificate::preferences()
S
45 1 52
myCRED_LifterLMS_Plan::preferences()
S
45 1 52
myCRED_LifterLMS_Lesson::preferences()
S
45 1 52
myCRED_LifterLMS_Section::preferences()
S
45 1 52
myCRED_LifterLMS_Membership::preferences()
S
45 1 52
myCRED_LifterLMS_Notification::add_mycred_notices()
S
56 3 19
myCRED_LifterLMS_Lesson::sanitise_preferences()
S
64 4 9
myCRED_LifterLMS_Section::sanitise_preferences()
S
64 4 9
myCRED_LifterLMS_Membership::sanitise_preferences()
S
64 4 9
myCRED_LifterLMS::define()
S
69 4 6
myCRED_LifterLMS_Achievement::sanitise_preferences()
S
64 4 9
myCRED_LifterLMS_Certificate::sanitise_preferences()
S
64 4 9
myCRED_LifterLMS_Plan::sanitise_preferences()
S
64 4 9
myCRED_LifterLMS::register_hooks()
S
47 1 43
myCRED_LifterLMS_Quiz::__construct()
S
55 1 23
myCRED_LifterLMS_Course::__construct()
S
55 1 23
LLMS_Notification_Controller_Mycred_Points::get_subscriber()
S
65 2 10
myCRED_LifterLMS_Certificate::run()
S
71 2 5
LLMS_Notification_Controller_Mycred_Points::set_subscriber_options()
S
66 2 9
myCRED_LifterLMS_Plan::run()
S
71 2 5
myCRED_LifterLMS::setup_references()
S
58 1 15
myCRED_LifterLMS_Achievement::run()
S
71 2 5
myCRED_LifterLMS_Notification::instance()
S
72 2 6
myCRED_LifterLMS::instance()
S
72 2 6
myCRED_LifterLMS_Endpoint::render_my_points_endpoint()
S
74 2 5
myCRED_LifterLMS_Lesson::run()
S
71 2 5
myCRED_LifterLMS_Section::run()
S
71 2 5
myCRED_LifterLMS_Membership::run()
S
71 2 5
myCRED_LifterLMS::file()
S
70 2 6
myCRED_LifterLMS::includes()
S
62 1 12
myCRED_LifterLMS_Achievement::__construct()
S
64 1 10
myCRED_LifterLMS::__wakeup()
S
90 1 1
LLMS_Notification_View_Mycred_Points::set_footer()
S
82 1 3
LLMS_Notification_Controller_Mycred_Points::action_callback()
S
72 1 5
myCRED_LifterLMS::define_constants()
S
67 1 7
myCRED_LifterLMS_Notification::trigger_llms_notification()
S
75 1 4
LLMS_Notification_View_Mycred_Points::set_supported_fields()
S
67 1 9
LLMS_Notification_View_Mycred_Points::set_subject()
S
82 1 3
myCRED_LifterLMS_Section::__construct()
S
64 1 10
LLMS_Notification_View_Mycred_Points::set_merge_codes()
S
64 1 10
myCRED_LifterLMS_Membership::__construct()
S
64 1 10
myCRED_LifterLMS_Certificate::__construct()
S
64 1 10
LLMS_Notification_View_Mycred_Points::set_title()
S
79 1 3
myCRED_LifterLMS_Lesson::__construct()
S
64 1 10
mycred_lifterlms_plugin()
S
82 1 3
myCRED_LifterLMS_Notification::user_gets_notification()
S
74 1 4
LLMS_Notification_Controller_Mycred_Points::get_title()
S
79 1 3
LLMS_Notification_Controller_Mycred_Points::set_supported_types()
S
73 1 5
myCRED_LifterLMS_Endpoint::add_endpoint()
S
63 1 10
myCRED_LifterLMS_Notification::run()
S
71 1 5
myCRED_LifterLMS::mycred_inactive_admin_notice()
S
71 1 5
myCRED_LifterLMS_Plan::__construct()
S
64 1 10
myCRED_LifterLMS::__clone()
S
90 1 1
LLMS_Notification_View_Mycred_Points::set_icon()
S
82 1 3
myCRED_LifterLMS_Notification::__construct()
S
83 1 3
myCRED_LifterLMS_Endpoint::__construct()
S
74 1 4
LLMS_Notification_View_Mycred_Points::set_body()
S
70 1 9