Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > User error in wp-content/plugins/woo-manage-fraud-orders/includes/class-woo-manage-fraud-orders.php+125
Server metrics [RAM: ▲0.31MB] [CPU: ▼0.22ms] Passed 4 tests
Server-side resources used by Woo Manage Fraud Orders
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.40 | 44.90 ▲2.53 |
Dashboard /wp-admin | 3.63 ▲0.32 | 55.28 ▲1.11 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 57.59 ▲5.54 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 94.29 ▼8.29 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 40.51 ▲3.76 |
Fraud Attempt Logs /wp-admin/admin.php?page=wmfo-fraud-attempts-logs | 3.50 | 42.22 |
Blocked Logs /wp-admin/admin.php?page=wmfo | 3.50 | 40.64 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 18 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_wmfo_logs |
wp_wmfo_fraud_attempts |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Woo Manage Fraud Orders
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.76 ▲0.16 | 1.79 ▲0.11 | 42.39 ▼1.32 |
Dashboard /wp-admin | 2,218 ▲38 | 5.52 ▼0.10 | 86.34 ▼14.50 | 39.09 ▼7.36 |
Posts /wp-admin/edit.php | 2,123 ▲20 | 1.99 ▲0.03 | 41.33 ▲5.50 | 37.02 ▲2.90 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.52 ▲0.05 | 707.62 ▲70.95 | 55.37 ▼6.73 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.21 ▲0.03 | 105.96 ▲4.75 | 46.55 ▲0.31 |
Fraud Attempt Logs /wp-admin/admin.php?page=wmfo-fraud-attempts-logs | 924 | 2.00 | 27.99 | 29.78 |
Blocked Logs /wp-admin/admin.php?page=wmfo | 924 | 2.00 | 23.94 | 27.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_wmfo_fraud_attempts
- wp_wmfo_logs
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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
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 add_filter() in wp-content/plugins/woo-manage-fraud-orders/includes/admin/class-wmfo-settings-tab.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-manage-fraud-orders/includes/admin/class-wmfo-order-actions.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-manage-fraud-orders/includes/admin/class-wmfo-bulk-blacklist.php:19
- > 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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: blacklist customers, anti fraud orders, blacklist fraud customers, tracking fraud attempts, prevent fake orders
woo-manage-fraud-orders/woo-manage-fraud-orders.php 92% from 13 tests
The main PHP file in "Woo Manage Fraud Orders" ver. 2.6.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "2.6")
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
There were no executable files found in this plugin1,641 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 390 | 814 | 1,641 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 16.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 86 | |
▷ Static methods | 34 | 39.53% |
▷ Public methods | 77 | 89.53% |
▷ Protected methods | 6 | 6.98% |
▷ Private methods | 3 | 3.49% |
Functions | 8 | |
▷ Named functions | 4 | 50.00% |
▷ Anonymous functions | 4 | 50.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
There were not PNG files found in your plugin