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.06MB] [CPU: ▼7.17ms] Passed 4 tests
This is a short check of server-side resources used by Tutor LMS Elementor Addons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.10 ▼1.95 |
Dashboard /wp-admin | 3.37 ▲0.02 | 50.42 ▼11.41 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.45 ▲1.75 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 79.87 ▼12.16 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.46 ▼3.14 |
Server storage [IO: ▲1.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 124 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Tutor LMS Elementor Addons: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲115 | 14.35 ▼0.00 | 1.59 ▲0.02 | 37.23 ▼0.26 |
Dashboard /wp-admin | 2,267 ▲92 | 5.69 ▲0.06 | 79.92 ▼16.66 | 70.84 ▲28.75 |
Posts /wp-admin/edit.php | 2,176 ▲76 | 2.10 ▲0.11 | 37.65 ▲1.57 | 30.36 ▼4.36 |
Add New Post /wp-admin/post-new.php | 1,752 ▲224 | 22.10 ▼1.13 | 722.31 ▲47.77 | 56.45 ▼0.79 |
Media Library /wp-admin/upload.php | 1,475 ▲78 | 4.16 ▼0.08 | 95.13 ▼5.51 | 81.03 ▲36.53 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 115× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/tutor-lms-elementor-addons/templates/course/list/grid/overlayed.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/tutor-lms-elementor-addons/templates/course/carousel/parts/level.php on line 1
- > PHP Notice
Undefined variable: settings in wp-content/plugins/tutor-lms-elementor-addons/templates/course/carousel/parts/footer.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function etlms_get_template() in wp-content/plugins/tutor-lms-elementor-addons/templates/course/carousel/classic.php:4
- > PHP Notice
Undefined variable: settings in wp-content/plugins/tutor-lms-elementor-addons/templates/course/list/grid/stacked.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function tutor_utils() in wp-content/plugins/tutor-lms-elementor-addons/templates/course/add-to-cart-woocommerce.php:12
- > PHP Notice
Undefined variable: settings in wp-content/plugins/tutor-lms-elementor-addons/templates/course/list/classic.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/tutor-lms-elementor-addons/templates/course/enrollment-editor.php:10
- > PHP Notice
Undefined variable: settings in wp-content/plugins/tutor-lms-elementor-addons/templates/course/list/grid/classic.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function tutor_utils() in wp-content/plugins/tutor-lms-elementor-addons/templates/course/add-to-cart-edd.php:7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Screenshot #10 (Intelligent Preview Modes) image not found
tutor-lms-elementor-addons/tutor-lms-elementor-addons.php Passed 13 tests
The main PHP file in "Tutor LMS Elementor Addons" ver. 2.1.3 adds more information about the plugin and also serves as the entry point for this plugin
92 characters long description:
Elementor Addons Integration - Tutor LMS plugin lets you design course pages with Elementor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected19,037 lines of code in 114 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 102 | 1,928 | 1,703 | 18,476 |
JavaScript | 3 | 17 | 16 | 288 |
CSS | 6 | 44 | 9 | 228 |
SVG | 1 | 0 | 0 | 38 |
JSON | 2 | 3 | 0 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 43 | |
▷ Abstract classes | 1 | 2.33% |
▷ Concrete classes | 42 | 97.67% |
▷ Final classes | 0 | 0.00% |
Methods | 206 | |
▷ Static methods | 12 | 5.83% |
▷ Public methods | 92 | 44.66% |
▷ Protected methods | 112 | 54.37% |
▷ Private methods | 2 | 0.97% |
Functions | 16 | |
▷ Named functions | 12 | 75.00% |
▷ Anonymous functions | 4 | 25.00% |
Constants | 8 | |
▷ Global constants | 8 | 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