Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.85MB] [CPU: ▼34.13ms] Passed 4 tests
Server-side resources used by Woo ChatEasy
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 44.16 ▲2.27 |
Dashboard /wp-admin | 3.09 ▼0.21 | 27.97 ▼26.49 |
Posts /wp-admin/edit.php | 3.09 ▼0.27 | 26.77 ▼21.15 |
Add New Post /wp-admin/post-new.php | 3.09 ▼2.80 | 27.66 ▼77.81 |
Media Library /wp-admin/upload.php | 3.09 ▼0.14 | 25.49 ▼11.06 |
ChatEasy WooCommerce /wp-admin/options-general.php?page=chateasy | 3.09 | 24.51 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 15 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_chateasy |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Woo ChatEasy
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.26 ▼0.90 | 1.74 ▲0.02 | 43.02 ▲0.82 |
Dashboard /wp-admin | 2,222 ▲22 | 4.81 ▼1.05 | 102.23 ▼4.02 | 43.28 ▼0.96 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.04 ▲0.05 | 35.00 ▼3.17 | 35.04 ▼2.93 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.66 ▲6.23 | 643.85 ▼13.49 | 48.67 ▼2.74 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.32 ▲0.10 | 96.53 ▼6.91 | 43.32 ▼1.35 |
ChatEasy WooCommerce /wp-admin/options-general.php?page=chateasy | 905 | 2.05 | 22.98 | 28.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_chateasy
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=chateasy
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
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
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/chateasy/chateasy.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chateasy/includes/chateasy-admin-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chateasy/includes/api/rest_api_init.php:75
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: You are using too many tags: 17 tag instead of maximum 10
- Screenshots: Screenshot #1 (This is the settings page for the plugin. You can configure the plugin by providing the API credentials and other settings.) image required
chateasy/chateasy.php 92% from 13 tests
The main PHP file in "Woo ChatEasy" ver. 1.0.6 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 225 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin631 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 196 | 100 | 630 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.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
5 PNG files occupy 0.17MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 33.69KB | 12.82KB | ▼ 61.95% |
assets/banner-772x250.png | 40.30KB | 13.07KB | ▼ 67.56% |
assets/screenshot-1.png | 90.44KB | 34.21KB | ▼ 62.17% |
assets/icon-256x256.png | 6.13KB | 3.05KB | ▼ 50.33% |
assets/icon-128x128.png | 3.16KB | 1.98KB | ▼ 37.40% |