Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼8.20ms] Passed 4 tests
An overview of server-side resources used by Order Postback for Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 42.98 ▲1.50 |
Dashboard /wp-admin | 3.57 ▲0.23 | 49.01 ▼16.64 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 49.81 ▲1.57 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 91.08 ▼19.24 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 42.44 ▲2.83 |
Order Postback /wp-admin/tools.php?page=order-postback-woo | 3.40 | 35.79 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Order Postback for Woocommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.30 ▼0.93 | 2.14 ▲0.41 | 44.80 ▲6.37 |
Dashboard /wp-admin | 2,210 ▲19 | 4.85 ▼0.05 | 107.68 ▲1.16 | 38.97 ▼4.98 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.00 ▼0.00 | 36.01 ▼0.68 | 33.50 ▲1.51 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 23.35 ▲5.62 | 666.02 ▼74.28 | 59.29 ▼6.14 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.03 | 101.96 ▼1.77 | 56.78 ▲8.55 |
Order Postback /wp-admin/tools.php?page=order-postback-woo | 948 | 2.04 | 25.42 | 30.38 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/order-postback-woo/admin/partials/order-postback-woo-admin-display.php
- > /wp-content/plugins/order-postback-woo/public/partials/order-postback-woo-public-display.php
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/order-postback-woo/admin/partials/order-postback-woo-admin-field-text.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/order-postback-woo/admin/partials/order-postback-woo-admin-field-checkbox.php:15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/order-postback-woo/includes/class-order-postback-woo-links.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/order-postback-woo/admin/partials/order-postback-woo-admin-field-select.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/order-postback-woo/admin/partials/order-postback-woo-admin-section-messages.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_screen_option() in wp-content/plugins/order-postback-woo/admin/partials/order-postback-woo-admin-posts.php:44
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/order-postback-woo/includes/class-order-postback-woo-links.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/order-postback-woo/includes/class-order-postback-woo-links.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/order-postback-woo/admin/partials/order-postback-woo-admin-tools.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/order-postback-woo/admin/partials/order-postback-woo-admin-page-settings.php:19
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Requires php: Invalid plugin version format
order-postback-woo/order-postback-woo.php 77% from 13 tests
"Order Postback for Woocommerce" version 1.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("3.1" instead of "3.0")
- Description: Please don't use more than 140 characters for the plugin description (currently 250 characters long)
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,236 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 547 | 829 | 1,236 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 15.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 6 | 8.11% |
▷ Public methods | 57 | 77.03% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 22.97% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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