Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.04ms] Passed 4 tests
This is a short check of server-side resources used by MasterStudy LMS Divi Modules
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.01 | 45.02 ▼2.64 |
Dashboard /wp-admin | 3.36 ▼0.03 | 47.54 ▼15.48 |
Posts /wp-admin/edit.php | 3.41 ▲0.01 | 48.02 ▼1.60 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.01 | 84.76 ▼16.45 |
Media Library /wp-admin/upload.php | 3.28 ▲0.01 | 38.00 ▲3.47 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MasterStudy LMS Divi Modules
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲31 | 14.29 ▲0.05 | 1.71 ▼0.03 | 38.07 ▼2.96 |
Dashboard /wp-admin | 2,208 ▲28 | 5.52 ▼0.13 | 82.89 ▼5.67 | 40.79 ▼4.18 |
Posts /wp-admin/edit.php | 2,113 ▲10 | 1.97 ▼0.05 | 37.72 ▼0.72 | 34.01 ▼4.82 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.13 ▲0.04 | 672.41 ▲22.86 | 50.64 ▼8.79 |
Media Library /wp-admin/upload.php | 1,410 ▲13 | 4.18 ▼0.01 | 110.33 ▲6.36 | 49.24 ▲2.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 15× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/masterstudy-lms-divi-modules/includes/modules/CourseBundles/CourseBundles.php:3
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/masterstudy-lms-divi-modules/includes/modules/FeaturedTeacher/FeaturedTeacher.php:3
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/masterstudy-lms-divi-modules/includes/modules/SingleCourseCarousel/SingleCourseCarousel.php:3
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/masterstudy-lms-divi-modules/includes/modules/BlogList/BlogList.php:9
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/masterstudy-lms-divi-modules/includes/modules/GoogleClassrooms/GoogleClassrooms.php:3
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/masterstudy-lms-divi-modules/includes/modules/IconBox/IconBox.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/masterstudy-lms-divi-modules/includes/templates/notice.php:3
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/masterstudy-lms-divi-modules/includes/modules/RecentCourses/RecentCourses.php:3
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/masterstudy-lms-divi-modules/includes/modules/CoursesCarousel/CoursesCarousel.php:3
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/masterstudy-lms-divi-modules/includes/modules/CoursesCategories/CoursesCategories.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: elearning, wordpress divi lms modules plugin, course, lms, online education...
masterstudy-lms-divi-modules/masterstudy-lms-divi-modules.php 92% from 13 tests
"MasterStudy LMS Divi Modules" version 1.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,249 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 195 | 166 | 1,127 |
CSS | 5 | 8 | 0 | 59 |
JSX | 2 | 12 | 9 | 37 |
JavaScript | 6 | 8 | 4 | 15 |
JSON | 1 | 0 | 0 | 6 |
Markdown | 1 | 1 | 0 | 5 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 5.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin