Benchmarks
Plugin footprint 83% 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 gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▲0.78ms] Passed 4 tests
This is a short check of server-side resources used by Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, Email, SMS, Call Button – Buttonizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.50 ▼0.30 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.14 ▼0.77 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.69 ▲1.08 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 91.44 ▲3.10 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.63 ▲5.26 |
Buttonizer /wp-admin/admin.php?page=Buttonizer | 3.28 | 39.31 |
Server storage [IO: ▲16.80MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 443 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, Email, SMS, Call Button – Buttonizer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲105 | 14.19 ▼0.17 | 1.57 ▼0.14 | 42.42 ▼2.27 |
Dashboard /wp-admin | 2,252 ▲72 | 5.52 ▼0.10 | 84.33 ▼13.28 | 80.87 ▲37.25 |
Posts /wp-admin/edit.php | 2,160 ▲63 | 1.98 ▼0.02 | 36.49 ▼1.57 | 42.37 ▲10.32 |
Add New Post /wp-admin/post-new.php | 1,592 ▲66 | 23.06 ▲0.28 | 702.26 ▼1.83 | 69.72 ▲9.94 |
Media Library /wp-admin/upload.php | 1,457 ▲57 | 4.18 ▼0.07 | 97.39 ▼7.20 | 65.81 ▲17.16 |
Buttonizer /wp-admin/admin.php?page=Buttonizer | 1,292 | 11.46 | 206.32 | 107.00 |
Edit buttons /wp-admin/admin.php?page=Buttonizer#/editor | 1,291 | 11.78 | 220.80 | 80.25 |
I need support /wp-admin/admin.php?page=Buttonizer#/support | 1,504 | 12.66 | 172.56 | 79.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/buttonizer-multifunctional-button/app/Legacy/Utils/Maintain.php
- > /wp-content/plugins/buttonizer-multifunctional-button/app/Legacy/Admin/Admin.php
- > /wp-content/plugins/buttonizer-multifunctional-button/app/Legacy/Licensing/License.php
- > /wp-content/plugins/buttonizer-multifunctional-button/app/Admin/Admin.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/buttonizer-multifunctional-button/app/Legacy/Admin/Template.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'Buttonizer\\Utils\\Settings' not found in wp-content/plugins/buttonizer-multifunctional-button/legacy.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/buttonizer-multifunctional-button/app/Admin/AdminTemplate.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/buttonizer-multifunctional-button/EnvVars.php:19
- > PHP Warning
require_once(ABSPATHwp-admin/includes/screen.php): failed to open stream: No such file or directory in wp-content/plugins/buttonizer-multifunctional-button/app/Legacy/Admin/Template.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'Buttonizer\\Utils\\Settings' not found in wp-content/plugins/buttonizer-multifunctional-button/init.php:89
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/buttonizer-multifunctional-button/EnvVars.php:19
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/screen.php' (include_path='.:/usr/share/php') in wp-content/plugins/buttonizer-multifunctional-button/app/Legacy/Admin/Template.php on line 14
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=Buttonizer#/editor
- > Network (severe)
index.php/wp-json/buttonizer/editor_start_session?nonce=058986e0f5 - Failed to load resource: the server responded with a status of 401 (Unauthorized)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #1, #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in buttonizer-multifunctional-button/assets to your readme.txt
buttonizer-multifunctional-button/buttonizer.php 85% from 13 tests
Analyzing the main PHP file in "Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, Email, SMS, Call Button – Buttonizer" version 3.4.1
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("buttonizer-multifunctional-button.php" instead of "buttonizer.php")
- Description: The description should be shorter than 140 characters (currently 217 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin166,195 lines of code in 222 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 27,291 | 22,041 | 113,746 |
PHP | 169 | 8,854 | 19,209 | 36,948 |
JSON | 12 | 1 | 0 | 13,765 |
PO File | 7 | 4,216 | 10,868 | 803 |
CSS | 16 | 76 | 58 | 657 |
SVG | 7 | 7 | 2 | 261 |
HTML | 1 | 1 | 0 | 15 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
The following items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 54.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 91 | |
▷ Abstract classes | 2 | 2.20% |
▷ Concrete classes | 89 | 97.80% |
▷ Final classes | 0 | 0.00% |
Methods | 1,456 | |
▷ Static methods | 240 | 16.48% |
▷ Public methods | 1,024 | 70.33% |
▷ Protected methods | 17 | 1.17% |
▷ Private methods | 415 | 28.50% |
Functions | 180 | |
▷ Named functions | 107 | 59.44% |
▷ Anonymous functions | 73 | 40.56% |
Constants | 164 | |
▷ Global constants | 117 | 71.34% |
▷ Class constants | 47 | 28.66% |
▷ Public constants | 47 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
166 PNG files occupy 2.09MB with 1.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/legacy/images/templates/template-126.png | 2.97KB | 1.12KB | ▼ 62.48% |
assets/legacy/images/templates/template-56.png | 5.06KB | 2.07KB | ▼ 59.07% |
assets/legacy/images/templates/template-148.png | 9.69KB | 4.30KB | ▼ 55.66% |
assets/legacy/images/templates/template-135.png | 5.56KB | 2.50KB | ▼ 54.97% |
assets/legacy/images/templates/template-16.png | 6.24KB | 2.41KB | ▼ 61.35% |