Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.83ms] Passed 4 tests
This is a short check of server-side resources used by ChatMe Mini Messenger
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.97 ▼5.99 |
Dashboard /wp-admin | 3.35 ▼0.00 | 50.91 ▼6.83 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.83 ▲1.50 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.94 ▼4.00 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.10 ▲2.30 |
ChatMe Mini Messenger /wp-admin/options-general.php?page=chatme-mini-messenger | 3.24 | 30.50 |
Server storage [IO: ▲1.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for ChatMe Mini Messenger
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,965 ▲219 | 15.39 ▲0.70 | 27.40 ▲25.40 | 37.87 ▼9.55 |
Dashboard /wp-admin | 2,210 ▲22 | 5.87 ▲1.00 | 109.82 ▼3.10 | 42.13 ▼8.89 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.06 ▲0.05 | 37.19 ▼5.18 | 30.19 ▼7.50 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.07 ▲5.37 | 692.23 ▼1.72 | 55.15 ▼5.62 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.28 ▲0.07 | 97.26 ▼13.14 | 41.89 ▼8.77 |
ChatMe Mini Messenger /wp-admin/options-general.php?page=chatme-mini-messenger | 1,042 | 3.32 | 69.77 | 36.33 |
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 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chatmeim-mini-messenger/chatmeim-mini-messenger.php:33
- > 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 on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (The chat login form) image missing
chatmeim-mini-messenger/chatmeim-mini-messenger.php Passed 13 tests
"ChatMe Mini Messenger" version 4.2.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
103 characters long description:
This plugin add the javascript code for Chatme.im Mini Messenger a Jabber/XMPP chat for your WordPress.
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
There were no executable files found in this plugin267 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 28 | 12 | 163 |
SVG | 1 | 0 | 0 | 102 |
CSS | 1 | 0 | 17 | 1 |
JavaScript | 1 | 34 | 201 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin