Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.48MB] [CPU: ▲6.46ms] Passed 4 tests
An overview of server-side resources used by UnikForce Elementor WooCommerce Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.47 ▲1.01 | 35.43 ▼11.23 |
Dashboard /wp-admin | 4.95 ▲1.64 | 62.30 ▲5.85 |
Posts /wp-admin/edit.php | 5.00 ▲1.64 | 65.69 ▲11.64 |
Add New Post /wp-admin/post-new.php | 7.53 ▲1.64 | 115.82 ▲19.57 |
Media Library /wp-admin/upload.php | 4.87 ▲1.64 | 65.79 ▲29.22 |
Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 200 new files
Database: no new tables, 9 new options
New WordPress options |
---|
_unikforce |
unikforce_installed |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
unikforce_version |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for UnikForce Elementor WooCommerce Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,520 ▼241 | 14.69 ▲0.14 | 1.54 ▼0.62 | 16.74 ▼27.58 |
Dashboard /wp-admin | 2,270 ▲99 | 5.64 ▲0.08 | 93.15 ▼11.63 | 44.05 ▼0.48 |
Posts /wp-admin/edit.php | 2,176 ▲76 | 2.16 ▲0.14 | 41.07 ▲3.15 | 34.31 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,596 ▲70 | 23.23 ▼0.04 | 646.41 ▼38.56 | 65.04 ▲7.10 |
Media Library /wp-admin/upload.php | 1,478 ▲84 | 4.17 ▼0.07 | 101.74 ▲4.91 | 46.39 ▲0.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- widget_recent-posts
- _unikforce
- can_compress_scripts
- widget_recent-comments
- unikforce_installed
- unikforce_version
- 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
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: settings in wp-content/plugins/unikforce-elementor-woocommerce/includes/widgets/products-block/view.php on line 20
- > PHP Notice
Undefined variable: settings in wp-content/plugins/unikforce-elementor-woocommerce/includes/widgets/products-block/view.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unikforce-elementor-woocommerce/includes/woo-data.php:34
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/unikforce-elementor-woocommerce/includes/widgets/products-block/view.php:29
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/unikforce-elementor-woocommerce/includes/widgets/products-block/view.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/unikforce-elementor-woocommerce/includes/widgets/products-block/view.php on line 6
- > PHP Notice
Undefined variable: settings in wp-content/plugins/unikforce-elementor-woocommerce/includes/widgets/products-block/view.php on line 3
- > PHP Notice
Undefined variable: settings in wp-content/plugins/unikforce-elementor-woocommerce/includes/widgets/products-block/view.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/unikforce-elementor-woocommerce/includes/widgets/products-block/view.php on line 20
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/unikforce-elementor-woocommerce/includes/widgets/products-block/view.php on line 2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: wp elementor addon, elementor addons, wordpress woocommerce builder, elementor woocommerce builder
unikforce-elementor-woocommerce/unikforce-elementor-woocommerce.php 92% from 13 tests
"UnikForce Elementor WooCommerce Builder" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and 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
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
Good job! No executable or dangerous file extensions detected36,238 lines of code in 173 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 121 | 3,982 | 2,123 | 17,125 |
PO File | 20 | 3,037 | 3,414 | 6,180 |
Sass | 17 | 959 | 3 | 4,846 |
CSS | 6 | 282 | 480 | 4,074 |
JavaScript | 6 | 1,273 | 348 | 4,006 |
JSON | 1 | 0 | 0 | 5 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 21.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 152.00 |
Average method complexity | 5.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 82 | |
▷ Abstract classes | 2 | 2.44% |
▷ Concrete classes | 80 | 97.56% |
▷ Final classes | 1 | 1.25% |
Methods | 429 | |
▷ Static methods | 66 | 15.38% |
▷ Public methods | 400 | 93.24% |
▷ Protected methods | 26 | 6.06% |
▷ Private methods | 3 | 0.70% |
Functions | 41 | |
▷ Named functions | 39 | 95.12% |
▷ Anonymous functions | 2 | 4.88% |
Constants | 9 | |
▷ Global constants | 8 | 88.89% |
▷ Class constants | 1 | 11.11% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |