Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼140.59ms] Passed 4 tests
Analyzing server-side resources used by ChatMe Mini
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.00 ▲0.16 | 39.22 ▲10.74 |
Dashboard /wp-admin | 3.23 ▲0.17 | 43.55 ▼3.04 |
Posts /wp-admin/edit.php | 3.34 ▲0.23 | 44.37 ▼0.31 |
Add New Post /wp-admin/post-new.php | 5.58 ▲0.15 | 91.14 ▼562.25 |
Media Library /wp-admin/upload.php | 3.17 ▲0.17 | 36.33 ▲3.23 |
ChatMe Mini /wp-admin/options-general.php?page=chatme-mini | 3.14 | 34.82 |
ChatMe Shortcode Help /wp-admin/options-general.php?page=chatme-shortcode | 3.14 | 31.28 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 2 new options
New WordPress options |
---|
widget_logn-form-widget |
widget_status-picture-widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ChatMe Mini
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,988 ▲382 | 16.48 ▲1.12 | 33.69 ▲24.14 | 60.97 ▲13.66 |
Dashboard /wp-admin | 2,979 ▲48 | 5.94 ▼0.08 | 142.70 ▼3.61 | 114.03 ▲2.77 |
Posts /wp-admin/edit.php | 2,751 ▲12 | 2.72 ▼0.00 | 73.56 ▲3.18 | 81.50 ▼7.71 |
Add New Post /wp-admin/post-new.php | 1,884 ▲201 | 19.12 ▲1.18 | 406.36 ▲42.38 | 103.51 ▼1.70 |
Media Library /wp-admin/upload.php | 1,819 ▲12 | 5.02 ▼0.00 | 157.10 ▲3.23 | 117.51 ▼5.87 |
ChatMe Mini /wp-admin/options-general.php?page=chatme-mini | 1,475 | 2.06 | 62.06 | 87.47 |
ChatMe Shortcode Help /wp-admin/options-general.php?page=chatme-shortcode | 1,239 | 3.59 | 94.77 | 77.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 2 options in the database
- widget_logn-form-widget
- widget_status-picture-widget
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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/chatmeim-mini/includes/class.login_widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'ChatMe' not found in wp-content/plugins/chatmeim-mini/includes/class.shortcode.php:2
- > PHP Fatal error
Uncaught Error: Class 'ChatMe' not found in wp-content/plugins/chatmeim-mini/includes/class.chatmini.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/chatmeim-mini/includes/class.status_widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chatmeim-mini/includes/class.chatmini.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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 need to be fixed:
- Screenshots: Add an image for screenshot #1 (The chat form)
chatmeim-mini/chatmeim-mini.php 85% from 13 tests
"ChatMe Mini" version 5.6.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 161 characters long)
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
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
Everything looks great! No dangerous files found in this plugin8,483 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 2,164 | 3,307 | 7,264 |
CSS | 1 | 139 | 18 | 708 |
PHP | 7 | 129 | 36 | 511 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 29 | |
▷ Static methods | 1 | 3.45% |
▷ Public methods | 27 | 93.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.90% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/mini/images/sprites/mini.png | 8.65KB | 4.14KB | ▼ 52.13% |
images/chat-mini.png | 8.96KB | 3.61KB | ▼ 59.76% |
includes/mini/images/sprites/animate.png | 6.00KB | 4.42KB | ▼ 26.36% |