Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.29ms] Passed 4 tests
An overview of server-side resources used by Change Product Author For WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 42.91 ▼1.71 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.58 ▼3.15 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.87 ▼13.35 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.24 ▼14.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.22 ▼0.12 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Change Product Author For WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.37 ▼0.02 | 1.90 ▲0.03 | 44.32 ▼0.30 |
Dashboard /wp-admin | 2,192 ▲18 | 5.54 ▼0.09 | 80.98 ▼9.45 | 40.37 ▼7.56 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.06 ▲0.06 | 34.55 ▼6.93 | 33.93 ▼7.58 |
Add New Post /wp-admin/post-new.php | 1,545 ▲11 | 23.18 ▼0.06 | 662.41 ▼11.77 | 61.25 ▲2.11 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.22 ▲0.02 | 97.50 ▼9.54 | 44.24 ▲0.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% 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 need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Edit product to change the author), #2 (Products view now shows the product author), #3 (Quick edit products to change multiple product authors)
wc-change-product-author/wc-change-product-author.php Passed 13 tests
The main PHP file in "Change Product Author For WooCommerce" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
101 characters long description:
Quickly change or transfer your WooCommerce product author to another users in the WordPress website.
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
There were no executable files found in this plugin8 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 6 | 25 | 8 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
3 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 27.96KB | 10.43KB | ▼ 62.71% |
screenshot-2.png | 47.01KB | 17.64KB | ▼ 62.48% |
screenshot-3.png | 23.90KB | 10.11KB | ▼ 57.70% |