Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/cackle-live-chat/cackle-live-chat.php+35
Methods with the same name as their class will not be constructors in a future version of PHP; CackleChat has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼53.41ms] Passed 4 tests
A check of server-side resources used by Cackle Live Chat
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.36 ▼36.96 |
Dashboard /wp-admin | 2.09 ▼1.22 | 6.68 ▼40.67 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 6.44 ▼42.48 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 7.06 ▼93.51 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 6.82 ▼24.24 |
Cackle Live Chat /wp-admin/plugins.php?page=cackle-live-chat | 2.10 | 7.40 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cackle Live Chat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,000 ▲243 | 14.24 ▼0.13 | 13.57 ▲11.39 | 41.57 ▼3.88 |
Dashboard /wp-admin | 2,210 ▲22 | 4.88 ▼0.06 | 108.26 ▲2.85 | 40.71 ▼0.55 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▲0.01 | 37.92 ▼3.18 | 34.12 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.30 ▲0.13 | 626.16 ▼39.27 | 49.46 ▼4.88 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.29 ▲0.07 | 96.94 ▼3.61 | 41.35 ▼2.15 |
Cackle Live Chat /wp-admin/plugins.php?page=cackle-live-chat | 838 | 2.03 | 26.99 | 27.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/cackle-live-chat/cackle-live-chat.php+35
Methods with the same name as their class will not be constructors in a future version of PHP; CackleChat has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/plugins.php?page=cackle-live-chat
- > Deprecated in wp-content/plugins/cackle-live-chat/cackle-live-chat.php+35
Methods with the same name as their class will not be constructors in a future version of PHP; CackleChat has a deprecated constructor
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 fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant PLUGINDIR - assumed 'PLUGINDIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/cackle-live-chat/cackle-live-chat.php on line 16
- > PHP Warning
Use of undefined constant WP_CONTENT_URL - assumed 'WP_CONTENT_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/cackle-live-chat/cackle-live-chat.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function cackle_live_chat_i() in wp-content/plugins/cackle-live-chat/manage.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cackle-live-chat/cackle-live-chat.php:108
- > PHP Warning
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Cackle Live Chat) image missing
- Plugin Name: Please specify the plugin name on the first line (
=== cackle-live-chat ===
)
cackle-live-chat/cackle-live-chat.php Passed 13 tests
Analyzing the main PHP file in "Cackle Live Chat" version 1.0.1
16 characters long description:
Cackle Live Chat
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected165 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 31 | 12 | 134 |
CSS | 1 | 3 | 0 | 31 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 27.24KB | 11.19KB | ▼ 58.91% |