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.01MB] [CPU: ▼0.90ms] Passed 4 tests
Analyzing server-side resources used by WhatsApp 🚀 click to chat
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.01 ▼6.44 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.91 ▼1.19 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.20 ▼0.18 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.17 ▲4.21 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 41.73 ▲7.42 |
Server storage [IO: ▲2.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WhatsApp 🚀 click to chat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 14.47 ▲0.11 | 1.76 ▼0.23 | 38.79 ▼9.47 |
Dashboard /wp-admin | 2,224 ▲36 | 4.94 ▲0.05 | 103.01 ▼2.28 | 85.62 ▲42.67 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 1.98 ▼0.08 | 38.37 ▼1.21 | 35.32 ▲1.11 |
Add New Post /wp-admin/post-new.php | 1,530 ▲3 | 23.31 ▲0.13 | 658.99 ▼2.28 | 46.80 ▼4.60 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.16 ▼0.10 | 97.46 ▼2.13 | 93.81 ▲45.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/manycontacts-bar/manycontacts-bar-admin.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/manycontacts-bar/manycontacts-bar.php:31
- > PHP Notice
Undefined index: manycontacts_bar_opt_hidden in wp-content/plugins/manycontacts-bar/manycontacts-bar-admin.php on line 2
- > 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)
No browser issues were found
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (How the widget is shown in your website.), #2 (The widget contact form in Desktop.), #3 (ManyContacts allow you to manage hundreds of WhatsApp conversations with your customers.), #4 (The ManyContacts plugin interface.)
manycontacts-bar/manycontacts-bar.php 92% from 13 tests
The main file in "WhatsApp 🚀 click to chat" v. 3.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 175 characters long)
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
There were no executable files found in this plugin58 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 17 | 27 | 58 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 4 | |
▷ Named functions | 4 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 1.99MB with 1.46MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 410.06KB | 115.44KB | ▼ 71.85% |
screenshot-3.png | 886.45KB | 258.21KB | ▼ 70.87% |
img/manycontacts-icon.png | 1.05KB | 0.18KB | ▼ 83.15% |
screenshot-2.png | 738.19KB | 243.40KB | ▼ 67.03% |