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: ▼1.56ms] Passed 4 tests
Analyzing server-side resources used by Bulk Orders Remover for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.87 ▲1.13 |
Dashboard /wp-admin | 3.31 ▲0.00 | 53.69 ▲1.39 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.46 ▲2.03 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.43 ▼10.80 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.89 ▲2.48 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
borfw_clean_frequency |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Bulk Orders Remover for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.23 ▲0.02 | 1.72 ▼0.04 | 38.55 ▼6.10 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▲0.08 | 86.81 ▼14.90 | 40.67 ▼2.65 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.02 ▲0.02 | 39.66 ▲2.69 | 34.89 ▼3.05 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.17 ▲0.17 | 668.60 ▼36.53 | 59.05 ▼6.89 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.13 ▼0.10 | 98.94 ▼23.23 | 45.91 ▼10.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- 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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function FPWD\\Bulk_Orders_Remover\\trailingslashit() in wp-content/plugins/bulk-orders-remover-for-woocommerce/classes/Admin_Options.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 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: orders, optimize database, clean, bulk remove, woocommerce
bulk-orders-remover-for-woocommerce/bulk-orders-remover-for-woocommerce.php 92% from 13 tests
Analyzing the main PHP file in "Bulk Orders Remover for WooCommerce" version 1.0
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin1,055 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 198 | 370 | 909 |
PO File | 1 | 27 | 29 | 79 |
JavaScript | 1 | 24 | 13 | 66 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review 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.29 |
Average class complexity | 18.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 4 | 6.35% |
▷ Public methods | 59 | 93.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.35% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
There are no PNG files in this plugin