Code Analysis: myCRED - LifterLMS Integration 1.1.1

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
myCRED_LifterLMS_Course::preferences()
S
41 1 77
myCRED_LifterLMS_Quiz::preferences()
S
41 1 77
myCRED_LifterLMS::__construct()
S
58 5 15
myCRED_LifterLMS_Certificate::user_earned_certificate()
S
56 4 18
myCRED_LifterLMS_Achievement::user_earned_achievement()
S
56 4 18
myCRED_LifterLMS_Course::course_completed()
S
58 4 15
myCRED_LifterLMS_Quiz::quiz_completed()
S
58 4 15
myCRED_LifterLMS_Section::section_completed()
S
58 4 15
myCRED_LifterLMS_Lesson::lesson_completed()
S
58 4 15
myCRED_LifterLMS_Plan::access_plan_purchased()
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_Membership::user_added_to_membership_level()
S
58 4 15
myCRED_LifterLMS_Quiz::quiz_passed()
S
58 4 15
myCRED_LifterLMS_Quiz::quiz_failed()
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_Membership::sanitise_preferences()
S
64 4 9
myCRED_LifterLMS_Achievement::sanitise_preferences()
S
64 4 9
myCRED_LifterLMS_Plan::sanitise_preferences()
S
64 4 9
myCRED_LifterLMS_Certificate::sanitise_preferences()
S
64 4 9
myCRED_LifterLMS_Section::sanitise_preferences()
S
64 4 9
myCRED_LifterLMS::define()
S
69 4 6
myCRED_LifterLMS_Lesson::sanitise_preferences()
S
64 4 9
myCRED_LifterLMS::register_hooks()
S
47 1 43
myCRED_LifterLMS_Membership::preferences()
S
53 1 28
myCRED_LifterLMS_Certificate::preferences()
S
53 1 28
myCRED_LifterLMS_Plan::preferences()
S
53 1 28
myCRED_LifterLMS_Lesson::preferences()
S
53 1 28
myCRED_LifterLMS_Achievement::preferences()
S
53 1 28
myCRED_LifterLMS_Section::preferences()
S
53 1 28
myCRED_LifterLMS_Quiz::__construct()
S
55 1 23
myCRED_LifterLMS_Course::__construct()
S
55 1 23
myCRED_LifterLMS_Certificate::run()
S
71 2 5
myCRED_LifterLMS::setup_references()
S
58 1 15
myCRED_LifterLMS::file()
S
70 2 6
myCRED_LifterLMS_Membership::run()
S
71 2 5
myCRED_LifterLMS::instance()
S
72 2 6
myCRED_LifterLMS_Plan::run()
S
71 2 5
myCRED_LifterLMS_Lesson::run()
S
71 2 5
myCRED_LifterLMS_Achievement::run()
S
71 2 5
myCRED_LifterLMS_Endpoint::render_my_points_endpoint()
S
74 2 5
myCRED_LifterLMS_Section::run()
S
71 2 5
myCRED_LifterLMS::includes()
S
63 1 11
myCRED_LifterLMS_Membership::__construct()
S
64 1 10
myCRED_LifterLMS_Achievement::__construct()
S
64 1 10
myCRED_LifterLMS_Certificate::__construct()
S
64 1 10
myCRED_LifterLMS_Plan::__construct()
S
64 1 10
myCRED_LifterLMS_Endpoint::add_endpoint()
S
63 1 10
myCRED_LifterLMS::__clone()
S
90 1 1
myCRED_LifterLMS_Section::__construct()
S
64 1 10
mycred_lifterlms_plugin()
S
82 1 3
myCRED_LifterLMS_Endpoint::__construct()
S
74 1 4
myCRED_LifterLMS::define_constants()
S
67 1 7
myCRED_LifterLMS::mycred_inactive_admin_notice()
S
71 1 5
myCRED_LifterLMS::__wakeup()
S
90 1 1
myCRED_LifterLMS_Lesson::__construct()
S
64 1 10