WP Courses LMS 3.1.9

Does WP Courses LMS work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
3PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 661.34 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.262 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 900+
WordPress.org page https://wordpress.org/plugins/wp-courses/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 16

Setup and Help ‹ Test site — WordPress

Page screenshot: Setup and Help ‹ Test site — WordPress
URL /wp-admin/admin.php?page=wpc_help
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-courses%2Fwp-courses.php&plugin_status=all&paged=1&s&_wpnonce=1c5471ff44
Aspect after-activation
HTTP status 200
Load time 3.885 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

WP Courses

Page screenshot: WP Courses
URL /wp-admin/admin.php?page=wpc_settings
Aspect menu-item
HTTP status 200
Load time 0.485 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

WP Courses → Setup and Help

Page screenshot: WP Courses → Setup and Help
URL /wp-admin/admin.php?page=wpc_help
Aspect menu-item
HTTP status 200
Load time 1.906 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

WP Courses → Options

Page screenshot: WP Courses → Options
URL /wp-admin/admin.php?page=wpc_options
Aspect menu-item
HTTP status 200
Load time 1.507 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

WP Courses → Teachers

Page screenshot: WP Courses → Teachers
URL /wp-admin/edit.php?post_type=teacher
Aspect menu-item
HTTP status 200
Load time 0.325 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

WP Courses → Course Categories

Page screenshot: WP Courses → Course Categories
URL /wp-admin/edit-tags.php?taxonomy=course-category&post_type=course
Aspect menu-item
HTTP status 200
Load time 0.297 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

WP Courses → Course Difficulties

Page screenshot: WP Courses → Course Difficulties
URL /wp-admin/edit-tags.php?taxonomy=course-difficulty&post_type=course
Aspect menu-item
HTTP status 200
Load time 0.281 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

WP Courses → Courses

Page screenshot: WP Courses → Courses
URL /wp-admin/edit.php?post_type=course
Aspect menu-item
HTTP status 200
Load time 0.247 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

WP Courses → Lessons

Page screenshot: WP Courses → Lessons
URL /wp-admin/edit.php?post_type=lesson
Aspect menu-item
HTTP status 200
Load time 0.262 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

WP Courses → Quizzes

Page screenshot: WP Courses → Quizzes
URL /wp-admin/edit.php?post_type=wpc-quiz
Aspect menu-item
HTTP status 200
Load time 0.290 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

WP Courses → Order Lessons and Manage Modules

Page screenshot: WP Courses → Order Lessons and Manage Modules
URL /wp-admin/admin.php?page=order_lessons
Aspect menu-item
HTTP status 200
Load time 0.279 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

WP Courses → Order Courses

Page screenshot: WP Courses → Order Courses
URL /wp-admin/admin.php?page=order_courses
Aspect menu-item
HTTP status 200
Load time 0.263 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

WP Courses → Students Progress

Page screenshot: WP Courses → Students Progress
URL /wp-admin/admin.php?page=manage_students
Aspect menu-item
HTTP status 200
Load time 0.443 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

WP Courses → Premium

Page screenshot: WP Courses → Premium
URL /wp-admin/admin.php?page=wpc_premium
Aspect menu-item
HTTP status 200
Load time 4.380 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 1.116 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.491 s
Memory usage 5.8 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.282 s0.801 s+0.519 s3.05 MiB3.64 MiB+ 606.62 KiB
/wp-admin/edit.php0.190 s0.443 s+0.253 s3.07 MiB3.67 MiB+ 607.39 KiB
/wp-admin/post-new.php0.800 s1.145 s+0.345 s4.97 MiB5.85 MiB+ 902.4 KiB
/wp-admin/upload.php0.679 s0.949 s+0.270 s2.99 MiB3.58 MiB+ 603.99 KiB
/wp-admin/options-writing.php0.140 s0.242 s+0.102 s2.99 MiB3.57 MiB+ 598.09 KiB
/wp-admin/media-new.php0.221 s0.324 s+0.103 s2.97 MiB3.58 MiB+ 623.8 KiB
/wp-admin/edit-tags.php?taxonomy=category0.224 s0.738 s+0.514 s2.98 MiB3.6 MiB+ 629.9 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.804 s+0.192 s4.96 MiB5.84 MiB+ 902.33 KiB
/wp-admin/options-discussion.php0.211 s0.752 s+0.541 s2.97 MiB3.57 MiB+ 611.3 KiB
/wp-admin/edit-comments.php0.207 s0.290 s+0.083 s3 MiB3.6 MiB+ 615.49 KiB
/0.301 s0.262 s-0.039 s2.94 MiB3.5 MiB+ 573.47 KiB
Average 0.352 s0.614 s+0.262 s3.35 MiB4 MiB+ 661.34 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP31.1%8,18451161
CSS23.3%6,143703
PO File17.4%4,5892,16110
JavaScript12.2%3,20317810
Sass6.2%1,6393413
LESS6.2%1,6334013
SVG2.6%68501
JSON0.6%15003
Markdown0.5%12503
Total 26,351 2,994 117

PHP Code Analysis | More results »

Lines of code 7,403
Total complexity 1,225
Median class complexity 16.0
Median method complexity 1.0
Most complex class WPC_AJAX_Components
Most complex function wpc_requirements_meta_box_callback()
Classes 7
Methods 36
Functions 236

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 4

Options wp_options 30

Custom Post Types 5

ID Name
courseCourses
lessonLesson
wpc-moduleModule
teacherTeachers
wpc-quizQuizzes

Sidebar Widgets 1

ID Name
wpc_new_stuff_widgetWP Courses Widget

Meta Boxes

{
    "lesson": {
        "wpc_lesson_video": {
            "title": "Lesson Video",
            "context": "side"
        },
        "wpc_connected_course_to_lesson": {
            "title": "Connected Courses",
            "context": "side"
        },
        "wpc_lesson_restriction": {
            "title": "Lesson Restriction",
            "context": "side"
        }
    },
    "wpc-quiz": {
        "wpc_connected_course_to_lesson": {
            "title": "Connected Courses",
            "context": "side"
        },
        "wpc_lesson_restriction": {
            "title": "Lesson Restriction",
            "context": "side"
        },
        "wpcq_options_meta": {
            "title": "Quiz Options",
            "context": "normal"
        },
        "wpcq_meta": {
            "title": "Quiz",
            "context": "normal"
        }
    },
    "course": {
        "wpc_sectionid": {
            "title": "Course Details",
            "context": "side"
        },
        "wpc_course_lessons": {
            "title": "Manage Course Lessons",
            "context": "normal"
        }
    },
    "wpc-badge": {
        "wpc_requirements_wrapper": {
            "title": "Requirements",
            "context": "normal"
        }
    },
    "wpc-certificate": {
        "wpc_requirements_wrapper": {
            "title": "Requirements",
            "context": "normal"
        }
    },
    "wpc-email": {
        "wpc_requirements_wrapper": {
            "title": "Requirements",
            "context": "normal"
        }
    }
}

PHP Error Log 3 lines

[25-Jan-2023 02:37:28 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/wp-courses/admin/templates/order-lessons.php on line 25
[25-Jan-2023 02:37:28 UTC] PHP Warning:  Attempt to read property "ID" on null in /wp-content/plugins/wp-courses/admin/templates/order-lessons.php on line 25
[25-Jan-2023 02:37:28 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/wp-courses/classes/WPC_Ajax.php on line 200
See also: All tests for this plugin, How to Hide WP Courses LMS Admin Menus and Meta Boxes