Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.35ms] Passed 4 tests
An overview of server-side resources used by Elementor Addons, Widgets and Enhancements - Stax
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.96 ▲5.21 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.87 ▲2.42 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 45.45 ▼0.18 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 80.64 ▼19.33 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.16 ▲3.68 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 215 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Elementor Addons, Widgets and Enhancements - Stax: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲118 | 14.79 ▲0.41 | 2.12 ▲0.47 | 44.79 ▲2.20 |
Dashboard /wp-admin | 2,242 ▲60 | 6.00 ▲0.14 | 100.92 ▼4.75 | 37.77 ▼7.38 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.03 ▲0.03 | 36.04 ▼1.41 | 34.61 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,524 ▼21 | 17.42 ▼0.78 | 710.72 ▲84.41 | 58.68 ▲3.23 |
Media Library /wp-admin/upload.php | 1,427 ▲36 | 4.22 ▼0.08 | 111.36 ▲9.79 | 46.29 ▲2.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 12× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/stax-addons-for-elementor/widgets/divider/templates/standard.php
- > /wp-content/plugins/stax-addons-for-elementor/widgets/heading/template.php
- > /wp-content/plugins/stax-addons-for-elementor/widgets/counter/templates/parts/digit.php
- > /wp-content/plugins/stax-addons-for-elementor/widgets/scroll-top/template.php
- > /wp-content/plugins/stax-addons-for-elementor/widgets/divider/templates/with-icon.php
- > /wp-content/plugins/stax-addons-for-elementor/widgets/blockquote/templates/top.php
- > /wp-content/plugins/stax-addons-for-elementor/widgets/testimonials-slider/templates/parts/swiper-pag.php
- > /wp-content/plugins/stax-addons-for-elementor/widgets/slider/template.php
- > /wp-content/plugins/stax-addons-for-elementor/widgets/dropdown/template.php
- > /wp-content/plugins/stax-addons-for-elementor/widgets/blockquote/templates/inline.php
- 124× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/stax-addons-for-elementor/widgets/counter/templates/parts/digit.php on line 2
- > PHP Notice
Undefined variable: settings in wp-content/plugins/stax-addons-for-elementor/widgets/testimonials-slider/templates/parts/swiper-nav-outside.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/stax-addons-for-elementor/widgets/testimonials/template.php:13
- > PHP Notice
Undefined variable: settings in wp-content/plugins/stax-addons-for-elementor/widgets/slider/template.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/stax-addons-for-elementor/widgets/dropdown/template.php on line 5
- > PHP Notice
Undefined variable: settings in wp-content/plugins/stax-addons-for-elementor/widgets/testimonials/template.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'StaxAddons\\Utils' not found in wp-content/plugins/stax-addons-for-elementor/widgets/team-member/templates/info-below.php:5
- > PHP Fatal error
Uncaught Error: Class 'StaxAddons\\Utils' not found in wp-content/plugins/stax-addons-for-elementor/widgets/info-button/template.php:3
- > PHP Notice
Undefined variable: icon_attribute in wp-content/plugins/stax-addons-for-elementor/widgets/scroll-top/template.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/stax-addons-for-elementor/widgets/testimonials/template.php on line 7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: elementor widgets, elementor, fast elementor addons, light addons, elementor addons...
stax-addons-for-elementor/loader.php 92% from 13 tests
The main file in "Elementor Addons, Widgets and Enhancements - Stax" v. 1.4.4.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("stax-addons-for-elementor.php" instead of "loader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin14,060 lines of code in 200 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 137 | 1,955 | 1,800 | 11,800 |
Sass | 11 | 111 | 18 | 598 |
CSS | 25 | 49 | 8 | 583 |
JavaScript | 20 | 108 | 46 | 558 |
Markdown | 1 | 82 | 0 | 255 |
JSON | 2 | 0 | 0 | 108 |
XML | 1 | 6 | 11 | 95 |
YAML | 1 | 6 | 0 | 32 |
SVG | 2 | 0 | 0 | 31 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 14.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 144.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 28 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 1 | 2.38% |
▷ Concrete classes | 41 | 97.62% |
▷ Final classes | 0 | 0.00% |
Methods | 330 | |
▷ Static methods | 33 | 10.00% |
▷ Public methods | 245 | 74.24% |
▷ Protected methods | 54 | 16.36% |
▷ Private methods | 31 | 9.39% |
Functions | 9 | |
▷ Named functions | 2 | 22.22% |
▷ Anonymous functions | 7 | 77.78% |
Constants | 14 | |
▷ Global constants | 14 | 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
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/img/pattern_01.png | 0.40KB | 0.18KB | ▼ 53.83% |