Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.80ms] Passed 4 tests
Analyzing server-side resources used by Best Addons for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.16 ▼3.09 |
Dashboard /wp-admin | 3.39 ▲0.08 | 57.57 ▲4.74 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.60 ▼0.99 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 89.92 ▼11.86 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.66 ▲5.41 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 81 new files
Database: no new tables, 10 new options
New WordPress options |
---|
wp_user_role_selector |
db_upgraded |
vendor_type |
can_compress_scripts |
bafe_show_description |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
wp_bafe_is_used |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Best Addons for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲56 | 14.25 ▼0.10 | 1.76 ▼0.35 | 42.03 ▼0.53 |
Dashboard /wp-admin | 2,233 ▲56 | 5.59 ▲0.00 | 91.61 ▲3.60 | 75.51 ▲35.79 |
Posts /wp-admin/edit.php | 2,154 ▲57 | 2.12 ▲0.15 | 37.86 ▼0.26 | 33.06 ▼1.51 |
Add New Post /wp-admin/post-new.php | 1,597 ▲71 | 22.84 ▼0.65 | 756.21 ▲32.55 | 57.32 ▲0.08 |
Media Library /wp-admin/upload.php | 1,444 ▲47 | 4.13 ▼0.08 | 100.01 ▼23.76 | 82.54 ▲33.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 10 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- wp_user_role_selector
- bafe_show_description
- theysaidso_admin_options
- wp_bafe_is_used
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- vendor_type
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/best-addons-for-elementor/app/settings/view/Addons.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/best-addons-for-elementor/app/settings/view/pages/get-pro.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: widgets, elements, elementor widget, elementor addons, elementor...
best-addons-for-elementor/best-addons-for-elementor.php 85% from 13 tests
The main PHP script in "Best Addons for Elementor" version 1.0.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: Please keep the plugin description shorter than 140 characters (currently 150 characters long)
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
Everything looks great! No dangerous files found in this plugin8,850 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 637 | 247 | 5,157 |
Sass | 22 | 100 | 5 | 2,145 |
PO File | 1 | 333 | 492 | 696 |
CSS | 5 | 54 | 49 | 658 |
JavaScript | 3 | 30 | 22 | 153 |
SVG | 1 | 0 | 0 | 41 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 5.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 1 | 4.76% |
Methods | 144 | |
▷ Static methods | 3 | 2.08% |
▷ Public methods | 112 | 77.78% |
▷ Protected methods | 32 | 22.22% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
19 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icons/restaurant-menu.png | 2.38KB | 1.65KB | ▼ 30.68% |
assets/images/icons/deliver-food.png | 2.98KB | 1.96KB | ▼ 34.13% |
assets/images/icons/card-exchange.png | 1.41KB | 0.89KB | ▼ 36.69% |
assets/images/icons/h.png | 0.86KB | 0.52KB | ▼ 39.05% |
assets/images/icons/photo-gallery.png | 1.33KB | 0.92KB | ▼ 30.34% |