Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.92ms] Passed 4 tests
This is a short check of server-side resources used by Woo Addons for Elementor - Stax
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 44.45 ▼6.88 |
Dashboard /wp-admin | 3.33 ▲0.03 | 54.39 ▼0.22 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.96 ▼5.16 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.92 ▼15.31 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.05 ▼0.33 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Woo Addons for Elementor - Stax
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲135 | 13.26 ▼1.12 | 5.23 ▲3.38 | 43.64 ▼0.18 |
Dashboard /wp-admin | 2,262 ▲71 | 5.08 ▼0.78 | 117.26 ▲12.17 | 44.23 ▲1.79 |
Posts /wp-admin/edit.php | 2,145 ▲56 | 2.06 ▲0.06 | 41.12 ▲4.75 | 35.74 ▲1.84 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 17.54 ▼5.75 | 626.13 ▼47.28 | 51.26 ▼4.84 |
Media Library /wp-admin/upload.php | 1,445 ▲60 | 4.21 ▼0.02 | 106.18 ▼14.81 | 48.77 ▼0.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
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 | 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 items
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
require_once(wp-content/plugins/stax-woo-addons-for-elementor/vendor/appsero/client/vendor/tareq1988/wp-php-cs-fixer/loader.php): failed to open stream: No such file or directory in wp-content/plugins/stax-woo-addons-for-elementor/vendor/appsero/client/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/stax-woo-addons-for-elementor/core/admin/pages/templates/widgets.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/stax-woo-addons-for-elementor/core/admin/layout.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/stax-woo-addons-for-elementor/core/admin/actions.php:3
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/stax-woo-addons-for-elementor/vendor/appsero/client/vendor/tareq1988/wp-php-cs-fixer/loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/stax-woo-addons-for-elementor/vendor/appsero/client/.php-cs-fixer.dist.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: woocommerce widgets, elementor, elementor woocommerce, woo addons, woocommerce
stax-woo-addons-for-elementor/loader.php 92% from 13 tests
"Woo Addons for Elementor - Stax" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("stax-woo-addons-for-elementor.php" instead of "loader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected5,622 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 929 | 1,285 | 4,399 |
CSS | 6 | 107 | 2 | 544 |
Markdown | 1 | 82 | 0 | 255 |
JavaScript | 3 | 20 | 9 | 115 |
JSON | 2 | 0 | 0 | 108 |
XML | 1 | 6 | 11 | 95 |
SVG | 2 | 0 | 0 | 38 |
Sass | 1 | 5 | 0 | 36 |
YAML | 1 | 6 | 0 | 32 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 21.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 1 | 5.26% |
▷ Concrete classes | 18 | 94.74% |
▷ Final classes | 0 | 0.00% |
Methods | 201 | |
▷ Static methods | 29 | 14.43% |
▷ Public methods | 146 | 72.64% |
▷ Protected methods | 23 | 11.44% |
▷ Private methods | 32 | 15.92% |
Functions | 7 | |
▷ Named functions | 2 | 28.57% |
▷ Anonymous functions | 5 | 71.43% |
Constants | 16 | |
▷ Global constants | 14 | 87.50% |
▷ Class constants | 2 | 12.50% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin