Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.10ms] Passed 4 tests
A check of server-side resources used by OggChat Live Chat
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.37 ▲2.85 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.73 ▼1.83 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.35 ▼1.02 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.91 ▼18.06 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.28 ▲0.51 |
OggChat Settings /wp-admin/options-general.php?page=oggchat-live-chat | 3.21 | 29.59 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for OggChat Live Chat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲117 | 13.31 ▼1.07 | 1.78 ▲0.08 | 38.79 ▼0.48 |
Dashboard /wp-admin | 2,233 ▲45 | 5.80 ▼0.01 | 97.62 ▼3.22 | 78.06 ▲30.53 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 1.97 ▼0.02 | 37.95 ▼3.92 | 34.82 ▼1.84 |
Add New Post /wp-admin/post-new.php | 1,691 ▲157 | 22.15 ▼0.97 | 760.01 ▲141.86 | 50.17 ▼4.18 |
Media Library /wp-admin/upload.php | 1,412 ▲27 | 4.24 ▲0.02 | 99.20 ▲0.35 | 80.37 ▲37.21 |
OggChat Settings /wp-admin/options-general.php?page=oggchat-live-chat | 1,017 | 2.16 | 25.28 | 32.20 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=oggchat-live-chat
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=oggchat-live-chat
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
- 1× 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/oggchat-live-chat-software/oggchat-live-chat.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 26 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (OggChat Settings Page), #2 (Example Chat Tab on your website), #3 (Chat Window), #4 (Visitor Monitor)
oggchat-live-chat-software/oggchat-live-chat.php 85% from 13 tests
The main PHP file in "OggChat Live Chat" ver. 1.4.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 260 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("oggchat-live-chat-software.php" instead of "oggchat-live-chat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin144 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 9 | 144 |
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.26 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 1.11MB with 0.70MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 371.24KB | 133.18KB | ▼ 64.13% |
screenshot-4.png | 284.26KB | 108.53KB | ▼ 61.82% |
ocsq.png | 3.14KB | 0.48KB | ▼ 84.76% |
oggchat.png | 4.47KB | 2.92KB | ▼ 34.66% |
screenshot-2.png | 175.62KB | 49.28KB | ▼ 71.94% |