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

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.194 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=4539fc3344
Aspect after-activation
HTTP status 200
Load time 3.210 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.949 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.415 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.369 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.350 s0.531 s+0.181 s3.47 MiB4.96 MiB+ 1.49 MiB
/wp-admin/edit.php0.219 s0.595 s+0.376 s3.54 MiB5 MiB+ 1.46 MiB
/wp-admin/post-new.php0.809 s1.124 s+0.315 s5.75 MiB9.25 MiB+ 3.5 MiB
/wp-admin/upload.php0.662 s0.465 s-0.197 s3.49 MiB4.89 MiB+ 1.4 MiB
/wp-admin/options-writing.php0.223 s0.514 s+0.291 s3.41 MiB4.89 MiB+ 1.48 MiB
/wp-admin/media-new.php0.214 s0.589 s+0.375 s3.4 MiB4.89 MiB+ 1.49 MiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.550 s+0.361 s3.47 MiB4.92 MiB+ 1.45 MiB
/wp-admin/post-new.php?post_type=page0.599 s0.738 s+0.139 s5.75 MiB8.79 MiB+ 3.05 MiB
/wp-admin/options-discussion.php0.228 s0.447 s+0.219 s3.41 MiB4.89 MiB+ 1.48 MiB
/wp-admin/edit-comments.php0.234 s0.330 s+0.096 s3.49 MiB4.92 MiB+ 1.43 MiB
/0.299 s0.276 s-0.023 s3.4 MiB4.87 MiB+ 1.47 MiB
Average 0.366 s0.560 s+0.194 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,82974,838875
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,007 77,238 1,380

PHP Code Analysis | More results »

Lines of code 99,451
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

[03-Oct-2024 09:58:57 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
[03-Oct-2024 09:59:00 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
[03-Oct-2024 09:59:06 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
[03-Oct-2024 09:59:10 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