Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.16MB] [CPU: ▼15.81ms] Passed 4 tests
A check of server-side resources used by Admin and Customer Messages After Order for WooCommerce: OrderConvo
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.03 | 33.33 ▼17.40 |
Dashboard /wp-admin | 3.22 ▼0.13 | 32.59 ▼25.66 |
Posts /wp-admin/edit.php | 3.28 ▼0.07 | 38.54 ▼7.38 |
Add New Post /wp-admin/post-new.php | 5.49 ▼0.39 | 73.81 ▼12.78 |
Media Library /wp-admin/upload.php | 3.23 ▼0.00 | 33.65 ▲2.73 |
Server storage [IO: ▲9.62MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 93 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
recovery_mode_email_last_sent |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Admin and Customer Messages After Order for WooCommerce: OrderConvo
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 811 ▼1,936 | 12.35 ▼2.03 | 0.65 ▼1.59 | 15.37 ▼38.57 |
Dashboard /wp-admin | 504 ▼1,676 | 1.36 ▼4.25 | 12.96 ▼79.83 | 14.91 ▼33.60 |
Posts /wp-admin/edit.php | 502 ▼1,601 | 1.12 ▼0.88 | 7.95 ▼30.00 | 21.19 ▼12.72 |
Add New Post /wp-admin/post-new.php | 453 ▼1,076 | 1.71 ▼21.48 | 23.51 ▼577.51 | 7.07 ▼42.95 |
Media Library /wp-admin/upload.php | 512 ▼888 | 1.71 ▼2.53 | 23.43 ▼73.30 | 20.63 ▼20.53 |
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 7 options in the database
- db_upgraded
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/admin-and-client-message-after-order-for-woocommerce/includes/wprest.class.php
- > /wp-content/plugins/admin-and-client-message-after-order-for-woocommerce/includes/meta.json.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/admin-and-client-message-after-order-for-woocommerce/nm-wooconvo.php:13
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: A description for screenshot #6 is missing in admin-and-client-message-after-order-for-woocommerce/assets to your readme.txt
- Requires php: Invalid plugin version format
admin-and-client-message-after-order-for-woocommerce/nm-wooconvo.php 85% from 13 tests
The main PHP file in "Admin and Customer Messages After Order for WooCommerce: OrderConvo" ver. 11.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("admin-and-client-message-after-order-for-woocommerce.php" instead of "nm-wooconvo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,345 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 414 | 214 | 1,324 |
CSS | 3 | 4 | 6 | 15 |
JavaScript | 4 | 0 | 6 | 4 |
XML | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 16.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 6 | 9.38% |
▷ Public methods | 62 | 96.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.12% |
Functions | 33 | |
▷ Named functions | 27 | 81.82% |
▷ Anonymous functions | 6 | 18.18% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
65 compressed PNG files occupy 0.11MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ext/html.png | 1.48KB | 1.34KB | ▼ 9.62% |
images/ext/otp.png | 1.32KB | 1.25KB | ▼ 5.41% |
images/ext/xml.png | 1.74KB | 1.49KB | ▼ 14.40% |
images/ext/h.png | 0.80KB | 0.81KB | 0.00% |
images/ext/_blank.png | 0.54KB | 0.66KB | 0.00% |