Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.98MB] [CPU: ▲16.77ms] Passed 4 tests
Server-side resources used by WP Guppy Lite - A live chat plugin for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.54 ▲1.08 | 52.93 ▲9.13 |
Dashboard /wp-admin | 4.27 ▲0.97 | 61.90 ▲15.50 |
Posts /wp-admin/edit.php | 4.32 ▲0.96 | 64.42 ▲19.20 |
Add New Post /wp-admin/post-new.php | 6.92 ▲1.03 | 125.07 ▲27.63 |
Media Library /wp-admin/upload.php | 4.19 ▲0.96 | 55.92 ▲23.23 |
Server storage [IO: ▲13.74MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 265 new files
Database: 5 new tables, 8 new options
New tables |
---|
wp_wpguppy_friend_list |
wp_wpguppy_chat_action |
wp_wpguppy_guest_account |
wp_wpguppy_users |
wp_wpguppy_message |
New WordPress options |
---|
wpguppy_settings |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
wpguppylite_version |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Guppy Lite - A live chat plugin for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,614 ▲857 | 25.17 ▲10.82 | 137.45 ▲135.37 | 94.90 ▲48.29 |
Dashboard /wp-admin | 2,281 ▲99 | 5.16 ▼0.73 | 101.05 ▼6.43 | 79.39 ▲38.14 |
Posts /wp-admin/edit.php | 2,166 ▲77 | 2.32 ▲0.30 | 39.32 ▲0.53 | 36.33 ▲1.24 |
Add New Post /wp-admin/post-new.php | 1,738 ▲201 | 22.53 ▼0.59 | 625.75 ▼47.69 | 34.65 ▼22.84 |
Media Library /wp-admin/upload.php | 1,451 ▲66 | 4.41 ▲0.14 | 98.48 ▼4.61 | 76.37 ▲33.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall successfully, leaving 5 tables in the database
- wp_wpguppy_friend_list
- wp_wpguppy_message
- wp_wpguppy_users
- wp_wpguppy_chat_action
- wp_wpguppy_guest_account
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- wpguppylite_version
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- wpguppy_settings
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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 fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wpguppy-lite/elementor/config.php
- 168× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Constant SODIUM_CRYPTO_STREAM_NONCEBYTES already defined in wp-content/plugins/wpguppy-lite/libraries/pusher/vendor/paragonie/sodium_compat/lib/php72compat_const.php on line 90
- > PHP Notice
Constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES already defined in wp-content/plugins/wpguppy-lite/libraries/pusher/vendor/paragonie/sodium_compat/lib/php72compat_const.php on line 25
- > PHP Warning
require_once(WP_GUPPY_LITE_DIRECTORYlibraries/jwt/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wpguppy-lite/includes/class-wp-guppy-rest-api.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'ParagonIE_Sodium_Core32_Util' not found in wp-content/plugins/wpguppy-lite/libraries/pusher/vendor/paragonie/sodium_compat/src/Core32/Curve25519/H.php:12
- > PHP Fatal error
Uncaught Error: Class 'ParagonIE_Sodium_Core_Curve25519' not found in wp-content/plugins/wpguppy-lite/libraries/pusher/vendor/paragonie/sodium_compat/namespaced/Core/Curve25519.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wpguppy-lite/includes/functions.php:12
- > PHP Fatal error
Uncaught Error: Class 'ParagonIE_Sodium_File' not found in wp-content/plugins/wpguppy-lite/libraries/pusher/vendor/paragonie/sodium_compat/namespaced/File.php:4
- > PHP Fatal error
Uncaught Error: Class 'ParagonIE_Sodium_Compat' not found in wp-content/plugins/wpguppy-lite/libraries/pusher/vendor/paragonie/sodium_compat/lib/ristretto255.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wpguppy-lite/admin/settings/templates/real-time-chat-options.php:28
- > PHP Fatal error
Uncaught Error: Class 'ParagonIE_Sodium_Core_BLAKE2b' not found in wp-content/plugins/wpguppy-lite/libraries/pusher/vendor/paragonie/sodium_compat/namespaced/Core/BLAKE2b.php:4
- > PHP Notice
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 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
These attributes need your attention:
- Tags: You are using too many tags: 23 tag instead of maximum 10
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7, #8 in wpguppy-lite/assets to your readme.txt
wpguppy-lite/wpguppy-lite.php 92% from 13 tests
The main PHP file in "WP Guppy Lite - A live chat plugin for WordPress" ver. 1.0.8 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 204 characters long)
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Please make sure to remedy the following
- Do not distribute dangerous files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/wpguppy-lite/node-server/sslcert/dummy_ssl_cert.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 165 | 3,935 | 13,343 | 28,672 |
CSS | 7 | 180 | 20 | 3,446 |
JavaScript | 11 | 78 | 299 | 817 |
JSON | 13 | 0 | 0 | 727 |
Markdown | 5 | 233 | 0 | 643 |
SVG | 4 | 0 | 0 | 600 |
YAML | 3 | 21 | 0 | 107 |
XML | 4 | 14 | 42 | 79 |
make | 1 | 9 | 4 | 26 |
Bourne Shell | 3 | 7 | 1 | 17 |
HTML | 2 | 0 | 1 | 15 |
INI | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 19.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 512.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 2 | |
Traits | 2 | |
Classes | 125 | |
▷ Abstract classes | 23 | 18.40% |
▷ Concrete classes | 102 | 81.60% |
▷ Final classes | 1 | 0.98% |
Methods | 955 | |
▷ Static methods | 595 | 62.30% |
▷ Public methods | 877 | 91.83% |
▷ Protected methods | 44 | 4.61% |
▷ Private methods | 34 | 3.56% |
Functions | 203 | |
▷ Named functions | 194 | 95.57% |
▷ Anonymous functions | 9 | 4.43% |
Constants | 343 | |
▷ Global constants | 13 | 3.79% |
▷ Class constants | 330 | 96.21% |
▷ Public constants | 330 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/guppy.png | 0.64KB | 0.46KB | ▼ 28.26% |
public/images/email-logo.png | 5.88KB | 2.62KB | ▼ 55.43% |