Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼25.05ms] Passed 4 tests
This is a short check of server-side resources used by EleBuilder - Widget Creator and Builder for Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 44.04 ▼2.64 |
Dashboard /wp-admin | 3.35 ▲0.04 | 50.47 ▼13.48 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 57.46 ▼83.30 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.03 | 97.20 ▼0.77 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 38.40 ▲2.12 |
Server storage [IO: ▲1.51MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
EleBuilder - Widget Creator and Builder for Elementor: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲18 | 13.64 ▼1.12 | 2.13 ▲0.01 | 47.15 ▼3.89 |
Dashboard /wp-admin | 2,224 ▲32 | 5.87 ▲1.03 | 101.28 ▼30.15 | 42.73 ▼9.69 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.07 ▲0.01 | 34.75 ▼4.93 | 39.27 ▲5.15 |
Add New Post /wp-admin/post-new.php | 1,532 ▼8 | 23.33 ▲0.15 | 585.98 ▼66.77 | 53.59 ▲12.09 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.24 ▲0.05 | 98.37 ▲0.31 | 43.36 ▼3.56 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/widget-builder-for-elementor/includes/admin/views/welcome-message.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/widget-builder-for-elementor/includes/custom-widget/classes/base.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/widget-builder-for-elementor/includes/admin/views/welcome-message.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
widget-builder-for-elementor/elebuilder.php 85% from 13 tests
The primary PHP file in "EleBuilder - Widget Creator and Builder for Elementor" version 1.0.3.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("widget-builder-for-elementor.php" instead of "elebuilder.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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 plugin1,713 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 751 | 1,353 | 1,554 |
CSS | 4 | 5 | 2 | 103 |
SVG | 7 | 0 | 0 | 50 |
JavaScript | 6 | 0 | 2 | 6 |
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.46 |
Average class complexity | 27.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 153 | |
▷ Static methods | 10 | 6.54% |
▷ Public methods | 113 | 73.86% |
▷ Protected methods | 11 | 7.19% |
▷ Private methods | 29 | 18.95% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 3 | 20.00% |
▷ Class constants | 12 | 80.00% |
▷ Public constants | 12 | 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