Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.54ms] Passed 4 tests
Server-side resources used by Astro Elementor Widgets Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.38 ▼6.52 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.64 ▼1.86 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 41.82 ▼7.39 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.09 ▼20.43 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.53 ▼3.80 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
aewlite_plugin_version |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Astro Elementor Widgets Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲183 | 13.57 ▼1.01 | 4.77 ▲3.25 | 39.48 ▼1.55 |
Dashboard /wp-admin | 2,216 ▲28 | 5.84 ▲0.93 | 94.89 ▼5.38 | 39.25 ▼2.94 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.06 ▲0.03 | 35.34 ▼5.19 | 31.76 ▼3.81 |
Add New Post /wp-admin/post-new.php | 1,543 ▲23 | 23.53 ▲0.33 | 621.68 ▼51.27 | 53.22 ▼2.14 |
Media Library /wp-admin/upload.php | 1,398 ▲13 | 4.27 ▲0.05 | 104.45 ▼16.53 | 46.01 ▼1.26 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- aewlite_plugin_version
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/astro-elementor-widgets-lite/widgets/pricing-table/pricing-table.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/astro-elementor-widgets-lite/widgets/preview-card/preview-card.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: astro, addons, elementor widgets, elementor addons, elementor elements...
astro-elementor-widgets-lite/astro-elementor-widgets-lite.php Passed 13 tests
The main file in "Astro Elementor Widgets Lite" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
40 characters long description:
A modern collection of elementor widgets
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
There were no executable files found in this plugin2,728 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 188 | 315 | 2,557 |
CSS | 4 | 2 | 9 | 167 |
JavaScript | 2 | 1 | 1 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 7.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 34 | |
▷ Static methods | 1 | 2.94% |
▷ Public methods | 28 | 82.35% |
▷ Protected methods | 4 | 11.76% |
▷ Private methods | 2 | 5.88% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 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 were not PNG files found in your plugin