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.03MB] [CPU: ▲0.09ms] Passed 4 tests
This is a short check of server-side resources used by Quick Chat Buttons: Chat with your website visitors via popular messaging apps
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.15 ▼1.39 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.63 ▲8.17 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.93 ▲5.57 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 95.95 ▼7.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.57 ▲3.49 |
Dashboard /wp-admin/admin.php?page=quick-chat-buttons | 3.66 | 39.12 |
Upgrade to Pro /wp-admin/admin.php?page=quick-chat-buttons-go-pro | 3.43 | 33.73 |
Server storage [IO: ▲1.63MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 60 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Quick Chat Buttons: Chat with your website visitors via popular messaging apps
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲181 | 13.78 ▼0.82 | 11.20 ▲9.50 | 43.71 ▼4.57 |
Dashboard /wp-admin | 2,231 ▲50 | 5.67 ▼0.04 | 85.98 ▼15.63 | 38.76 ▲0.50 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.00 ▼0.01 | 36.46 ▼3.68 | 33.30 ▼3.79 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.47 ▼0.25 | 638.80 ▲5.05 | 50.65 ▲3.32 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.37 ▲0.19 | 95.03 ▲0.10 | 40.74 ▼0.98 |
Dashboard /wp-admin/admin.php?page=quick-chat-buttons | 4,846 | 2.46 | 39.18 | 47.39 |
Upgrade to Pro /wp-admin/admin.php?page=quick-chat-buttons-go-pro | 1,791 | 2.30 | 45.20 | 108.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 9× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/quick-chat-buttons/includes/class-quick-chat-buttons.php
- > /wp-content/plugins/quick-chat-buttons/public/class-quick-chat-buttons-public.php
- > /wp-content/plugins/quick-chat-buttons/public/partials/quick-chat-buttons-public-display.php
- > /wp-content/plugins/quick-chat-buttons/admin/partials/modal.php
- > /wp-content/plugins/quick-chat-buttons/includes/class-quick-chat-buttons-i18n.php
- > /wp-content/plugins/quick-chat-buttons/includes/class-quick-chat-buttons-activator.php
- > /wp-content/plugins/quick-chat-buttons/admin/class-quick-chat-buttons-admin.php
- > /wp-content/plugins/quick-chat-buttons/admin/partials/dashboard.php
- > /wp-content/plugins/quick-chat-buttons/includes/class-quick-chat-buttons-deactivator.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Quick_Chat_Buttons' not found in wp-content/plugins/quick-chat-buttons/admin/partials/widget-list.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/quick-chat-buttons/admin/partials/widget-new.php:7
- > PHP Fatal error
Uncaught Error: Class 'Quick_Chat_Buttons' not found in wp-content/plugins/quick-chat-buttons/admin/partials/trigger-settings.php:2
- > PHP Fatal error
Uncaught Error: Class 'Quick_Chat_Buttons' not found in wp-content/plugins/quick-chat-buttons/admin/partials/widget-setting.php:2
- > PHP Fatal error
Uncaught Error: Class 'Quick_Chat_Buttons' not found in wp-content/plugins/quick-chat-buttons/admin/partials/customize-settings.php:2
- > PHP Fatal error
Uncaught Error: Class 'Quick_Chat_Buttons' not found in wp-content/plugins/quick-chat-buttons/admin/partials/channels.php:2
- > PHP Fatal error
Uncaught Error: Class 'Quick_Chat_Buttons' not found in wp-content/plugins/quick-chat-buttons/admin/partials/go-pro.php: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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: chat, facebook messenger, facebook, chat buttons, quick chat...
quick-chat-buttons/quick-chat-buttons.php Passed 13 tests
Analyzing the main PHP file in "Quick Chat Buttons: Chat with your website visitors via popular messaging apps" version 1.0.4
18 characters long description:
Quick Chat Buttons
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected18,604 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 16 | 197 | 60 | 6,790 |
JavaScript | 10 | 1,235 | 309 | 4,637 |
SVG | 1 | 2 | 1 | 4,089 |
PHP | 21 | 316 | 603 | 3,088 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 14.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 14 | 26.92% |
▷ Public methods | 47 | 90.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 9.62% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
7 PNG files occupy 0.58MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/day-time-rule.png | 20.35KB | 10.27KB | ▼ 49.52% |
admin/images/no-channels.png | 409.68KB | 178.74KB | ▼ 56.37% |
admin/css/jquery.minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |
admin/images/date-rule.png | 7.15KB | 4.19KB | ▼ 41.35% |
admin/images/page-rule.png | 13.55KB | 7.39KB | ▼ 45.47% |