Testing Suspended

Testing of this plugin has been temporarily suspended due to an error. It will automatically resume when a new plugin version is released.

Masteriyo - LMS for WordPress 1.13.2

Does Masteriyo - LMS for WordPress work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/learning-management-system/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Masteriyo LMS - Onboarding

Page screenshot: Masteriyo LMS - Onboarding
URL /wp-admin/index.php?page=masteriyo-onboard
Requested URL /wp-admin/plugins.php?action=activate&plugin=learning-management-system%2Flms.php&plugin_status=all&paged=1&s&_wpnonce=a50147dd01
Aspect after-activation
HTTP status 200
Load time 2.640 s
Memory usage N/A
JS errors None
Resource errors None

Masteriyo

Page screenshot: Masteriyo
URL /wp-admin/admin.php?page=masteriyo
Aspect menu-item
HTTP status 200
Load time 1.965 s
Memory usage 5.49 MiB
JS errors None
Resource errors None

Tools → Scheduled Actions

Page screenshot: Tools → Scheduled Actions
URL /wp-admin/tools.php?page=action-scheduler
Aspect menu-item
HTTP status 200
Load time 0.392 s
Memory usage 4.97 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 0.266 s
Memory usage 4.87 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.357 s0.629 s+0.272 s3.47 MiB4.96 MiB+ 1.48 MiB
/wp-admin/edit.php0.210 s0.516 s+0.306 s3.54 MiB5 MiB+ 1.46 MiB
/wp-admin/post-new.php0.804 s1.186 s+0.382 s5.75 MiB9.25 MiB+ 3.5 MiB
/wp-admin/upload.php0.668 s0.503 s-0.165 s3.49 MiB4.89 MiB+ 1.4 MiB
/wp-admin/options-writing.php0.219 s0.548 s+0.329 s3.41 MiB4.89 MiB+ 1.48 MiB
/wp-admin/media-new.php0.243 s0.363 s+0.120 s3.4 MiB4.89 MiB+ 1.49 MiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.566 s+0.364 s3.47 MiB4.91 MiB+ 1.44 MiB
/wp-admin/post-new.php?post_type=page0.603 s0.781 s+0.178 s5.75 MiB8.79 MiB+ 3.04 MiB
/wp-admin/options-discussion.php0.240 s0.460 s+0.220 s3.41 MiB4.89 MiB+ 1.48 MiB
/wp-admin/edit-comments.php0.245 s0.361 s+0.116 s3.49 MiB4.91 MiB+ 1.42 MiB
/0.503 s0.237 s-0.266 s3.45 MiB4.87 MiB+ 1.41 MiB
Average 0.390 s0.559 s+0.169 s3.87 MiB5.66 MiB+ 1.78 MiB

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
TypeScript
Language % Lines of code Comment lines Files
PHP61.2%107,97874,067864
CSS16.1%28,4461,3219
TypeScript15.2%26,831218314
JSON3.9%6,84405
JavaScript2.1%3,65782831
SVG0.8%1,3440123
Sass0.7%1,217115
Markdown0.0%2601
Bourne Shell0.0%1421
Total 176,357 76,437 1,363

PHP Code Analysis | More results »

Lines of code 98,760
Total complexity 14,928
Median class complexity 9.0
Median method complexity 1.0
Most complex class Masteriyo\Addons\MigrationTool\Controllers\LMSMigrationController
Most complex function Masteriyo\RestApi\Controllers\Version1\SettingsController::get_item_schema()
Classes 593
Methods 4,897
Functions 616

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 10

Options wp_options 10

Custom Post Types 8

ID Name
mto-courseCourses
mto-lessonLessons
mto-sectionSections
mto-quizQuizzes
mto-questionQuestions
mto-orderOrders
mto-webhookWebhooks
scheduled-actionScheduled Actions

Roles 2

ID Name
masteriyo_instructorMasteriyo Instructor
masteriyo_studentMasteriyo Student

Capabilities 168

PHP Error Log 4 lines

[24-Sep-2024 12:47:23 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/learning-management-system/includes/ScriptStyle.php on line 760
[24-Sep-2024 12:47:26 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/learning-management-system/includes/ScriptStyle.php on line 760
[24-Sep-2024 12:47:32 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/learning-management-system/includes/ScriptStyle.php on line 760
[24-Sep-2024 12:47:36 UTC] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/learning-management-system/includes/ScriptStyle.php on line 760
See also: All tests for this plugin, How to Hide Masteriyo LMS Admin Menus