Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.70ms] Passed 4 tests
Analyzing server-side resources used by Rearrange Woocommerce Products
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.38 ▲0.07 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.52 ▼2.26 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.87 ▼2.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.31 ▼10.03 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.83 ▲5.32 |
Troubleshooting /wp-admin/admin.php?page=rwpp-troubleshooting-page | 3.01 | 24.58 |
Rearrange Products /wp-admin/admin.php?page=rwpp-page | 3.01 | 24.37 |
Sort by Categories /wp-admin/admin.php?page=rwpp-sortby-categories-page | 3.01 | 21.71 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Rearrange Woocommerce Products
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.35 ▲0.13 | 1.69 ▼0.07 | 43.22 ▼0.50 |
Dashboard /wp-admin | 2,198 ▲18 | 5.61 ▼0.07 | 93.87 ▲1.17 | 42.60 ▼3.28 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.07 | 36.21 ▲0.14 | 33.08 ▼2.76 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.62 ▲0.11 | 677.79 ▲1.93 | 50.77 ▲1.00 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▲0.03 | 106.31 ▼2.32 | 46.92 ▲1.71 |
Troubleshooting /wp-admin/admin.php?page=rwpp-troubleshooting-page | 28 | 0.41 | 0.09 | 3.87 |
Rearrange Products /wp-admin/admin.php?page=rwpp-page | 28 | 0.41 | 0.09 | 3.33 |
Sort by Categories /wp-admin/admin.php?page=rwpp-sortby-categories-page | 28 | 0.41 | 0.10 | 3.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=rwpp-troubleshooting-page
- > Network (severe)
wp-admin/admin.php?page=rwpp-troubleshooting-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=rwpp-page
- > Network (severe)
wp-admin/admin.php?page=rwpp-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=rwpp-sortby-categories-page
- > Network (severe)
wp-admin/admin.php?page=rwpp-sortby-categories-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #5 (Shortcut link under Categories section to sort by categories) image not found
rearrange-woocommerce-products/rearrange-woocommerce-products.php Passed 13 tests
The main PHP file in "Rearrange Woocommerce Products" ver. 4.2.0 adds more information about the plugin and also serves as the entry point for this plugin
76 characters long description:
a WordPress plugin to Rearrange Woocommerce Products listed on the Shop page
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 plugin4,607 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 649 | 311 | 3,151 |
PO File | 10 | 330 | 360 | 856 |
PHP | 11 | 109 | 162 | 494 |
CSS | 1 | 3 | 1 | 102 |
JSON | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 53.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 2 | 9.09% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon-tea.png | 3.30KB | 2.03KB | ▼ 38.52% |