Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.06ms] Passed 4 tests
A check of server-side resources used by Quick Assign SKU Images for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.44 ▼0.93 |
Dashboard /wp-admin | 3.31 ▼0.04 | 52.04 ▼7.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.36 ▼3.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.95 ▼12.20 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.78 ▼1.57 |
Server storage [IO: ▲0.93MB] [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: 194 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Quick Assign SKU Images for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.47 ▲0.09 | 1.83 ▲0.12 | 38.00 ▼3.26 |
Dashboard /wp-admin | 2,206 ▲18 | 4.88 ▼0.21 | 111.53 ▲10.64 | 43.61 ▼3.98 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.00 ▼0.01 | 39.65 ▲1.76 | 36.86 ▲1.53 |
Add New Post /wp-admin/post-new.php | 1,514 ▼8 | 17.61 ▼5.77 | 643.01 ▼3.64 | 55.63 ▲2.09 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.16 ▼0.04 | 94.21 ▼8.31 | 41.72 ▼1.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 12× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Fixtures/response-functional/cookie_raw_urlencode.php
- > /wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Session/Storage/Handler/Fixtures/empty_destroys.php
- > /wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Fixtures/response-functional/cookie_samesite_lax.php
- > /wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Session/Storage/Handler/Fixtures/storage.php
- > /wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Fixtures/response-functional/cookie_urlencode.php
- > /wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Session/Storage/Handler/Fixtures/with_cookie_and_session.php
- > /wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Fixtures/response-functional/cookie_samesite_strict.php
- > /wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Session/Storage/Handler/Fixtures/read_only.php
- > /wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Fixtures/response-functional/invalid_cookie_name.php
- > /wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Session/Storage/Handler/Fixtures/regenerate.php
- 110× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Session/Flash/FlashBagTest.php:22
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpFoundation\\Tests\\ResponseTestCase' not found in wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/ResponseTest.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\SessionStorageInterface' not found in wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Session/Storage/MockArraySessionStorage.php:28
- > PHP Warning
include(wp-content/plugins/woo-quick-assign-sku-images/vendor/composer/../symfony/http-foundation/Session/SessionUtils.php): failed to open stream: No such file or directory in wp-content/plugins/woo-quick-assign-sku-images/vendor/composer/ClassLoader.php on line 444
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Session/SessionTest.php:28
- > PHP Warning
include(wp-content/plugins/woo-quick-assign-sku-images/vendor/composer/../symfony/http-foundation/Session/SessionUtils.php): failed to open stream: No such file or directory in wp-content/plugins/woo-quick-assign-sku-images/vendor/composer/ClassLoader.php on line 444
- > PHP Fatal error
require_once(): Failed opening required 'lib/byte_safe_strings.php' (include_path='.:/usr/share/php') in wp-content/plugins/woo-quick-assign-sku-images/vendor/paragonie/random_compat/psalm-autoload.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Session/Storage/PhpBridgeSessionStorageTest.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Session/Attribute/AttributeBagTest.php:22
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/Session/Attribute/NamespacedAttributeBagTest.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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
1 plugin tags: add product images in bulk
woo-quick-assign-sku-images/woo-quick-assign-sku-images.php Passed 13 tests
The principal PHP file in "Quick Assign SKU Images for WooCommerce" v. 1.1.6 is loaded by WordPress automatically on each request
63 characters long description:
Plugin helps you mass assign images for products in simple way.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
It is important to fix the following items
- Do not include executable or dangerous files in your plugin
- .xlsm - Excel Macro-Enabled Workbook in Microsoft Excel
- ☣ wp-content/plugins/woo-quick-assign-sku-images/vendor/symfony/http-foundation/Tests/File/Fixtures/case-sensitive-mime-type.xlsm
- .xlsm - Excel Macro-Enabled Workbook in Microsoft Excel
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 147 | 3,937 | 6,820 | 18,193 |
JSON | 6 | 0 | 0 | 382 |
XML | 4 | 20 | 0 | 259 |
Markdown | 5 | 69 | 0 | 214 |
Pascal | 2 | 41 | 74 | 79 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 238.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 25 | |
Interfaces | 9 | |
Traits | 0 | |
Classes | 119 | |
▷ Abstract classes | 3 | 2.52% |
▷ Concrete classes | 116 | 97.48% |
▷ Final classes | 3 | 2.59% |
Methods | 1,436 | |
▷ Static methods | 93 | 6.48% |
▷ Public methods | 1,297 | 90.32% |
▷ Protected methods | 95 | 6.62% |
▷ Private methods | 44 | 3.06% |
Functions | 81 | |
▷ Named functions | 43 | 53.09% |
▷ Anonymous functions | 38 | 46.91% |
Constants | 113 | |
▷ Global constants | 4 | 3.54% |
▷ Class constants | 109 | 96.46% |
▷ Public constants | 109 | 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
No PNG files were detected