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.4

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.79 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.215 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=8dc3966f19
Aspect after-activation
HTTP status 200
Load time 2.244 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.821 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.389 s
Memory usage 4.98 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.265 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.317 s0.404 s+0.087 s3.47 MiB4.96 MiB+ 1.49 MiB
/wp-admin/edit.php0.179 s0.921 s+0.742 s3.54 MiB5 MiB+ 1.46 MiB
/wp-admin/post-new.php0.690 s1.128 s+0.438 s5.75 MiB9.25 MiB+ 3.5 MiB
/wp-admin/upload.php0.469 s0.425 s-0.044 s3.49 MiB4.89 MiB+ 1.4 MiB
/wp-admin/options-writing.php0.195 s0.458 s+0.263 s3.41 MiB4.89 MiB+ 1.48 MiB
/wp-admin/media-new.php0.209 s0.320 s+0.111 s3.4 MiB4.89 MiB+ 1.49 MiB
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.359 s+0.185 s3.47 MiB4.92 MiB+ 1.45 MiB
/wp-admin/post-new.php?post_type=page0.541 s0.872 s+0.331 s5.75 MiB8.79 MiB+ 3.05 MiB
/wp-admin/options-discussion.php0.216 s0.403 s+0.187 s3.41 MiB4.89 MiB+ 1.48 MiB
/wp-admin/edit-comments.php0.200 s0.305 s+0.105 s3.49 MiB4.92 MiB+ 1.43 MiB
/0.273 s0.231 s-0.042 s3.4 MiB4.87 MiB+ 1.47 MiB
Average 0.315 s0.530 s+0.215 s3.87 MiB5.66 MiB+ 1.79 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.1%108,83274,840875
CSS16.1%28,6011,3219
TypeScript15.4%27,417219316
JSON3.8%6,84405
JavaScript2.1%3,68985732
SVG0.8%1,3700126
Sass0.7%1,217115
Markdown0.0%2601
Bourne Shell0.0%1421
Total 178,010 77,240 1,380

PHP Code Analysis | More results »

Lines of code 99,454
Total complexity 15,081
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 599
Methods 4,951
Functions 619

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

[22-Oct-2024 11:34:09 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 762
[22-Oct-2024 11:34:11 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 762
[22-Oct-2024 11:34:17 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 762
[22-Oct-2024 11:34:21 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 762
See also: All tests for this plugin, How to Hide Masteriyo LMS Admin Menus