Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.02ms] Passed 4 tests
Analyzing server-side resources used by Chat Message Button
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.98 ▼5.19 |
Dashboard /wp-admin | 3.32 ▼0.02 | 44.50 ▼15.81 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.29 ▼1.10 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 80.42 ▼17.99 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 32.70 ▲0.24 |
Chat Message Button /wp-admin/admin.php?page=cmb-message-settings | 3.21 | 28.01 |
Sobre Daniel Esparza /wp-admin/admin.php?page=desparza-menu | 3.21 | 31.46 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Chat Message Button
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲106 | 13.72 ▼1.02 | 1.97 ▲0.18 | 41.69 ▼4.64 |
Dashboard /wp-admin | 2,231 ▲43 | 4.80 ▼1.10 | 109.24 ▼7.37 | 47.67 ▲1.62 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.02 ▲0.02 | 35.97 ▼0.55 | 35.48 ▼0.10 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 23.04 ▲4.72 | 667.93 ▲65.10 | 64.54 ▲4.70 |
Media Library /wp-admin/upload.php | 1,413 ▲22 | 4.22 ▲0.00 | 100.07 ▼0.61 | 44.51 ▲1.45 |
Chat Message Button /wp-admin/admin.php?page=cmb-message-settings | 809 | 2.03 | 26.24 | 28.79 |
Sobre Daniel Esparza /wp-admin/admin.php?page=desparza-menu | 802 | 2.05 | 24.65 | 29.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-whatsapp-message/wp-whatsapp-message.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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
Please fix the following attributes:
- Requires php: Invalid plugin version format
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
wp-whatsapp-message/wp-whatsapp-message.php 92% from 13 tests
The primary PHP file in "Chat Message Button" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 232 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin136 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 17 | 26 | 81 |
SVG | 1 | 0 | 1 | 48 |
CSS | 2 | 2 | 2 | 7 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected