Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.93MB] [CPU: ▼32.68ms] Passed 4 tests
This is a short check of server-side resources used by Chat messenger & toolbar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 43.38 ▼0.23 |
Dashboard /wp-admin | 3.02 ▼0.29 | 23.31 ▼28.94 |
Posts /wp-admin/edit.php | 3.02 ▼0.35 | 24.48 ▼21.44 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.88 | 23.85 ▼69.55 |
Media Library /wp-admin/upload.php | 3.02 ▼0.22 | 22.18 ▼10.80 |
WOC Settings /wp-admin/options-general.php?page=chat-messenger-with-toolbar/woc.php | 3.02 | 23.93 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Chat messenger & toolbar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲47 | 14.38 ▲0.12 | 1.58 ▼0.09 | 37.93 ▼4.28 |
Dashboard /wp-admin | 2,202 ▲25 | 5.56 ▼0.09 | 93.18 ▼0.73 | 41.69 ▼0.07 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.94 ▼0.06 | 38.80 ▼0.11 | 36.13 ▼3.56 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 25.24 ▲2.23 | 588.13 ▼68.60 | 65.80 ▲13.69 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▲0.03 | 92.71 ▼2.46 | 42.13 ▼2.10 |
WOC Settings /wp-admin/options-general.php?page=chat-messenger-with-toolbar/woc.php | 805 | 2.00 | 25.69 | 26.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=chat-messenger-with-toolbar/woc.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=chat-messenger-with-toolbar/woc.php
- > Notice in wp-content/plugins/chat-messenger-with-toolbar/woc.php+17
Undefined index: woc_form_submitted
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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chat-messenger-with-toolbar/woc.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% 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 need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (http://www.wocchat.com/messengeronline.png), #2 (http://www.wocchat.com/toolbarmess.png)
- Contributors: Plugin contributors not specified
chat-messenger-with-toolbar/woc.php 85% from 13 tests
The main PHP script in "Chat messenger & toolbar" version 1.0px... is automatically included on every request by WordPress
It is important to fix the following:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "1.0px...")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("chat-messenger-with-toolbar.php" instead of "woc.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin83 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 9 | 83 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin