Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.69ms] Passed 4 tests
Analyzing server-side resources used by Setary — Bulk Edit WooCommerce Products
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.01 ▼6.17 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.25 ▼2.49 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.71 ▲4.91 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.80 ▼6.48 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.56 ▼3.62 |
Connect to Setary /wp-admin/index.php?page=setary-welcome | 3.28 | 33.71 |
Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Setary — Bulk Edit WooCommerce Products: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲53 | 14.32 ▲0.07 | 1.81 ▲0.01 | 36.07 ▼7.23 |
Dashboard /wp-admin | 2,195 ▲18 | 5.63 ▲0.11 | 93.15 ▲3.18 | 43.13 ▲5.75 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.98 ▼0.10 | 38.92 ▲1.55 | 34.64 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,526 ▼1 | 23.01 ▼0.13 | 612.74 ▼30.29 | 50.58 ▼0.07 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.16 ▼0.02 | 95.91 ▼3.32 | 41.98 ▲0.74 |
Connect to Setary /wp-admin/index.php?page=setary-welcome | 1,118 | 1.98 | 26.29 | 71.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
- 14× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WC_REST_Products_Controller' not found in wp-content/plugins/setary/inc/class-upload-image.php:22
- > PHP Fatal error
Uncaught Error: Class 'WC_REST_Controller' not found in wp-content/plugins/setary/inc/class-save-by-field.php:17
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Attachments_Controller' not found in wp-content/plugins/setary/inc/class-media-list.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function Setary\\add_filter() in wp-content/plugins/setary/inc/class-settings.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function Setary\\add_action() in wp-content/plugins/setary/inc/class-mu.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function Setary\\is_admin() in wp-content/plugins/setary/inc/class-welcome.php:24
- > PHP Fatal error
Uncaught Error: Class 'WC_Product_Data_Store_CPT' not found in wp-content/plugins/setary/inc/class-meta-attributes.php:19
- > PHP Fatal error
Uncaught Error: Class 'WC_REST_Products_Controller' not found in wp-content/plugins/setary/inc/class-products-with-variations.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function Setary\\add_action() in wp-content/plugins/setary/inc/bootstrap.php:10
- > PHP Fatal error
Uncaught Error: Class 'WC_REST_Controller' not found in wp-content/plugins/setary/inc/class-info.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
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
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #1, #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in setary/assets to your readme.txt
setary/setary.php 85% from 13 tests
Analyzing the main PHP file in "Setary — Bulk Edit WooCommerce Products" version 1.10.2
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Requires at least: Required version does not match the one declared in readme.txt ("5.7" instead of "6.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin2,324 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 526 | 790 | 2,095 |
Markdown | 1 | 51 | 0 | 131 |
SVG | 9 | 0 | 0 | 63 |
XML | 1 | 7 | 4 | 29 |
JSON | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 16.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 118.00 |
Average method complexity | 4.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 3 | 3.80% |
▷ Public methods | 68 | 86.08% |
▷ Protected methods | 11 | 13.92% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 6 | 66.67% |
▷ Anonymous functions | 3 | 33.33% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 1.28MB with 0.72MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/setary-app-preview.png | 1,310.28KB | 568.50KB | ▼ 56.61% |