Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.14MB] [CPU: ▼4.37ms] Passed 4 tests
A check of server-side resources used by ShopPress – All-in-One WooCommerce Addons for Elementor – Shop Builder, Product Builder, Wishlist, ...
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 36.21 ▼11.14 |
Dashboard /wp-admin | 3.45 ▲0.14 | 43.85 ▼5.22 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 43.34 ▼3.18 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 91.81 ▲2.77 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 33.25 ▲2.07 |
Server storage [IO: ▲14.77MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 1,176 new files
Database: no new tables, 9 new options
New WordPress options |
---|
shoppress_message_pro |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
shoppress_message |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
sp_admin |
Browser metrics Passed 4 tests
Checking browser requirements for ShopPress – All-in-One WooCommerce Addons for Elementor – Shop Builder, Product Builder, Wishlist, ...
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲112 | 14.47 ▼0.18 | 1.63 ▼0.73 | 32.26 ▼13.02 |
Dashboard /wp-admin | 2,292 ▲107 | 5.88 ▲1.01 | 98.00 ▼19.51 | 83.70 ▲36.31 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.01 ▼0.03 | 36.92 ▼0.05 | 35.03 ▼1.05 |
Add New Post /wp-admin/post-new.php | 1,530 ▼6 | 18.69 ▼4.56 | 616.81 ▼77.86 | 54.01 ▼4.27 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.20 ▲0.00 | 95.62 ▼17.10 | 41.36 ▼2.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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: 9 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- shoppress_message_pro
- sp_admin
- widget_theysaidso_widget
- shoppress_message
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/shop-press/includes/one-click-demo-import/one-click-demo-import.php
- > /wp-content/plugins/shop-press/Modules/CurrencyStorage.php
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'OCDI\\PluginInstaller' not found in wp-content/plugins/shop-press/includes/one-click-demo-import/views/import.php:10
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/shop-press/includes/one-click-demo-import/inc/PluginInstallerSkin.php on line 11
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader.php' (include_path='.:/usr/share/php') in wp-content/plugins/shop-press/includes/one-click-demo-import/inc/PluginInstallerSkin.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'AwesomeMotive\\WPContentImporter2\\WXRImporter' not found in wp-content/plugins/shop-press/includes/one-click-demo-import/inc/WXRImporter.php:12
- > PHP Fatal error
Uncaught Error: Class 'OCDI\\CreateDemoContent\\DemoContentCreator' not found in wp-content/plugins/shop-press/includes/one-click-demo-import/views/create-content.php:10
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-upgrader.php): failed to open stream: No such file or directory in wp-content/plugins/shop-press/includes/one-click-demo-import/inc/PluginInstallerSkinSilent.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/shop-press/includes/one-click-demo-import/inc/CustomizerOption.php:14
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader.php' (include_path='.:/usr/share/php') in wp-content/plugins/shop-press/includes/one-click-demo-import/inc/PluginInstallerSkinSilent.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'OCDI\\PluginInstaller' not found in wp-content/plugins/shop-press/includes/one-click-demo-import/views/install-plugins.php:10
- > PHP Fatal error
Uncaught Error: Class 'AwesomeMotive\\WPContentImporter2\\WPImporterLoggerCLI' not found in wp-content/plugins/shop-press/includes/one-click-demo-import/inc/Logger.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in shop-press/assets to your readme.txt
shop-press/shop-press.php 77% from 13 tests
The primary PHP file in "ShopPress – All-in-One WooCommerce Addons for Elementor – Shop Builder, Product Builder, Wishlist, ..." version 1.1.6 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("5.2.0" instead of "5.2")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 225 characters long)
- Domain Path: The domain path folder was not found ("/shop-press")
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
Good job! No executable or dangerous file extensions detected71,502 lines of code in 856 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 333 | 6,748 | 10,754 | 28,152 |
SVG | 341 | 2 | 25 | 19,315 |
JavaScript | 105 | 1,710 | 679 | 18,281 |
CSS | 46 | 469 | 48 | 2,966 |
Sass | 28 | 298 | 1 | 2,717 |
Markdown | 1 | 20 | 0 | 26 |
JSON | 1 | 0 | 0 | 25 |
HTML | 1 | 3 | 20 | 20 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 12.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 145.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 218 | |
▷ Abstract classes | 7 | 3.21% |
▷ Concrete classes | 211 | 96.79% |
▷ Final classes | 2 | 0.95% |
Methods | 1,812 | |
▷ Static methods | 176 | 9.71% |
▷ Public methods | 1,250 | 68.98% |
▷ Protected methods | 295 | 16.28% |
▷ Private methods | 267 | 14.74% |
Functions | 19 | |
▷ Named functions | 4 | 21.05% |
▷ Anonymous functions | 15 | 78.95% |
Constants | 21 | |
▷ Global constants | 18 | 85.71% |
▷ Class constants | 3 | 14.29% |
▷ Public constants | 3 | 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
15 PNG files occupy 0.32MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Admin/App/src/images/helpdesk.png | 8.14KB | 8.40KB | 0.00% |
Admin/App/build/images/ticket.ad23a23a.png | 8.75KB | 9.03KB | 0.00% |
includes/woocommerce-swatches/admin/assets/images/placeholder.png | 0.38KB | 0.43KB | 0.00% |
includes/woocommerce-swatches/admin/assets/images/radio-style-2.png | 19.87KB | 4.15KB | ▼ 79.11% |
includes/woocommerce-swatches/admin/assets/images/radio-style-1.png | 19.38KB | 3.82KB | ▼ 80.31% |