Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.00ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce Filter Orders by Product
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 36.67 ▼1.90 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.35 ▼3.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.33 ▲5.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.18 ▲0.16 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.97 ▼3.25 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce Filter Orders by Product
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.27 ▼1.51 | 1.75 ▲0.12 | 42.79 ▼1.80 |
Dashboard /wp-admin | 2,209 ▲30 | 4.83 ▼1.04 | 110.43 ▼6.55 | 41.79 ▼6.02 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.04 ▲0.02 | 40.07 ▼1.03 | 37.24 ▼0.32 |
Add New Post /wp-admin/post-new.php | 1,547 ▲28 | 17.93 ▼5.37 | 653.82 ▲43.87 | 70.37 ▲20.58 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.22 ▲0.05 | 98.11 ▼9.52 | 40.98 ▼3.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function flyoutapps\\wfobpp\\add_action() in wp-content/plugins/woocommerce-filter-orders-by-product/inc/init.php:13
- > PHP Fatal error
Uncaught Error: Class 'flyoutapps\\wfobpp\\Filter_By' not found in wp-content/plugins/woocommerce-filter-orders-by-product/inc/filter-by-category.php:10
- > PHP Fatal error
Uncaught Error: Class 'flyoutapps\\wfobpp\\Filter_By' not found in wp-content/plugins/woocommerce-filter-orders-by-product/inc/filter-by-product.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: filter, product, admin, order, woocommerce
woocommerce-filter-orders-by-product/woocommerce-filter-orders-by-product.php Passed 13 tests
The main PHP script in "WooCommerce Filter Orders by Product" version 3.3 is automatically included on every request by WordPress
73 characters long description:
This plugin lets you filter the WooCommrce Orders by any specific product
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin158 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 54 | 48 | 158 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 4.20 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 1 | 25.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 88.89% |
▷ Protected methods | 1 | 5.56% |
▷ Private methods | 1 | 5.56% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin