Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.25ms] Passed 4 tests
Server-side resources used by My Elementor Addons
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.09 ▼2.04 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.88 ▼1.70 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.28 ▼5.07 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.46 ▼16.17 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.18 ▲1.91 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for My Elementor Addons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲97 | 14.47 ▲0.17 | 1.98 ▲0.18 | 43.06 ▲4.01 |
Dashboard /wp-admin | 2,221 ▲30 | 5.85 ▲0.92 | 106.78 ▼0.35 | 45.08 ▼3.59 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.04 ▼0.02 | 37.97 ▼2.83 | 36.94 ▼1.34 |
Add New Post /wp-admin/post-new.php | 1,546 ▲9 | 23.36 ▲0.16 | 626.71 ▲40.24 | 54.67 ▼12.19 |
Media Library /wp-admin/upload.php | 1,406 ▲24 | 4.27 ▲0.02 | 96.79 ▼1.60 | 43.97 ▲0.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function MyElementorAddons\\Elementor\\add_action() in wp-content/plugins/my-elementor-addons/plugin.php:148
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: elementor addon, elementor widget, elements, elementor, elementor addons
my-elementor-addons/my-elementor-addons.php 92% from 13 tests
The main PHP file in "My Elementor Addons" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected9,497 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 798 | 709 | 6,261 |
JavaScript | 7 | 492 | 973 | 2,053 |
CSS | 18 | 196 | 79 | 1,183 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 9.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 1 | 7.14% |
▷ Concrete classes | 13 | 92.86% |
▷ Final classes | 1 | 7.69% |
Methods | 90 | |
▷ Static methods | 3 | 3.33% |
▷ Public methods | 52 | 57.78% |
▷ Protected methods | 36 | 40.00% |
▷ Private methods | 2 | 2.22% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 5 | 71.43% |
▷ Class constants | 2 | 28.57% |
▷ Public constants | 2 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/vendor/owl/css/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |