Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.33MB] [CPU: ▼11.38ms] Passed 4 tests
Server-side resources used by Live Chat for WordPress - WP Simple Chat — by Groundhogg
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.00 ▲0.54 | 39.79 ▼1.18 |
Dashboard /wp-admin | 3.67 ▲0.33 | 46.84 ▼17.96 |
Posts /wp-admin/edit.php | 3.72 ▲0.37 | 48.42 ▲2.11 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.33 | 83.33 ▼26.57 |
Media Library /wp-admin/upload.php | 3.53 ▲0.31 | 37.24 ▲0.18 |
WP Simple Chat /wp-admin/options-general.php?page=wp-simple-chat | 3.51 | 39.01 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 90 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Live Chat for WordPress - WP Simple Chat — by Groundhogg
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲47 | 14.35 ▲0.00 | 1.89 ▼0.04 | 37.12 ▼4.91 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.03 | 86.17 ▲0.64 | 39.29 ▼2.84 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.08 | 40.07 ▲4.10 | 36.11 ▲3.93 |
Add New Post /wp-admin/post-new.php | 6,231 ▲4,705 | 26.11 ▲3.40 | 902.67 ▲275.45 | 68.11 ▲3.28 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.14 ▲0.01 | 105.72 ▲4.88 | 45.73 ▲2.73 |
WP Simple Chat /wp-admin/options-general.php?page=wp-simple-chat | 1,121 | 2.36 | 48.15 | 53.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
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
Even though no errors were found, this is by no means 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
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function SimpleChat\\add_filter() in wp-content/plugins/wp-simple-chat/includes/functions.php:124
- > PHP Fatal error
Uncaught Error: Class 'ExtendedCore\\Admin\\Metabox' not found in wp-content/plugins/wp-simple-chat/admin/metabox.php:8
- > PHP Fatal error
Uncaught Error: Class 'ExtendedCore\\Admin\\Admin_Page' not found in wp-content/plugins/wp-simple-chat/admin/settings.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function ExtendedCore\\add_action() in wp-content/plugins/wp-simple-chat/includes/core/includes/functions.php:211
- > PHP Fatal error
Uncaught Error: Class 'ExtendedCore\\HTML' not found in wp-content/plugins/wp-simple-chat/includes/html.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function SimpleChat\\add_action() in wp-content/plugins/wp-simple-chat/includes/compatibility.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
3 plugin tags: facebook, facebook chat, chat
wp-simple-chat/wp-simple-chat.php 92% from 13 tests
The main file in "Live Chat for WordPress - WP Simple Chat — by Groundhogg" v. 1.1.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin12,821 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 59 | 2,421 | 663 | 9,292 |
PHP | 20 | 949 | 1,854 | 2,996 |
CSS | 3 | 104 | 5 | 533 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 24.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 6 | 40.00% |
▷ Concrete classes | 9 | 60.00% |
▷ Final classes | 0 | 0.00% |
Methods | 245 | |
▷ Static methods | 9 | 3.67% |
▷ Public methods | 196 | 80.00% |
▷ Protected methods | 37 | 15.10% |
▷ Private methods | 12 | 4.90% |
Functions | 30 | |
▷ Named functions | 29 | 96.67% |
▷ Anonymous functions | 1 | 3.33% |
Constants | 19 | |
▷ Global constants | 18 | 94.74% |
▷ Class constants | 1 | 5.26% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/core/assets/lib/jquery-ui/images/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
includes/core/assets/lib/jquery-ui/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
assets/groundhogg-logo.png | 22.81KB | 11.04KB | ▼ 51.60% |
includes/core/assets/lib/jquery-ui/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
includes/core/assets/lib/jquery-ui/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |