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
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.29ms] Passed 4 tests
A check of server-side resources used by Jibber Chat
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 42.22 ▲0.03 |
Dashboard /wp-admin | 3.41 ▲0.11 | 44.88 ▼3.47 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 49.52 ▲0.63 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 84.36 ▼12.47 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.64 ▼1.24 |
Server storage [IO: ▲2.83MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Jibber Chat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲140 | 14.09 ▼0.29 | 24.29 ▲22.62 | 85.72 ▲33.94 |
Dashboard /wp-admin | 2,248 ▲60 | 5.91 ▲1.02 | 100.96 ▼5.04 | 39.28 ▼3.87 |
Posts /wp-admin/edit.php | 2,131 ▲39 | 2.00 ▼0.05 | 40.27 ▲0.64 | 34.58 ▼0.47 |
Add New Post /wp-admin/post-new.php | 1,531 ▼11 | 23.20 ▲4.81 | 643.19 ▲29.73 | 65.80 ▲12.54 |
Media Library /wp-admin/upload.php | 1,425 ▲43 | 4.18 ▼0.01 | 97.62 ▲0.49 | 42.91 ▼2.62 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/jibber-chat/jibber-chat.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'JC_Inc\\JC_Base\\Jibber_Chat_BaseController' not found in wp-content/plugins/jibber-chat/inc/JC_Base/Jibber_Chat_Enqueue.php:11
- > PHP Fatal error
Uncaught Error: Class 'JC_Inc\\JC_Base\\Jibber_Chat_BaseController' not found in wp-content/plugins/jibber-chat/inc/JC_Base/Jibber_Chat_SettingsLink.php:10
- > PHP Fatal error
Uncaught Error: Class 'JC_Inc\\JC_Base\\Jibber_Chat_BaseController' not found in wp-content/plugins/jibber-chat/inc/JC_API/JC_Callbacks/Jibber_Chat_AdminCallbacks.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/jibber-chat/templates/jibber_chat_admin.php:3
- > PHP Fatal error
Uncaught Error: Class 'JC_Inc\\JC_Base\\Jibber_Chat_BaseController' not found in wp-content/plugins/jibber-chat/inc/JC_Pages/Jibber_Chat_Admin.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 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
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Use the Jibber Chat in your webstore to connect with your customers.), #2 (The Jibber Chat bubble.), #3 (Try the Jibber Chat app for both iOS and Android.), #4 (An easy to use dashboard.), #5 (Registration form.)
- Tags: There are too many tags (13 tag instead of maximum 10)
jibber-chat/jibber-chat.php 85% from 13 tests
The entry point to "Jibber Chat" version 1.0.6 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: Please use dashes and lowercase characters for text domains
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin627 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 159 | 229 | 604 |
JSON | 2 | 0 | 0 | 18 |
CSS | 1 | 0 | 0 | 3 |
JavaScript | 1 | 1 | 0 | 2 |
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.36 |
Average class complexity | 5.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 52 | |
▷ Static methods | 8 | 15.38% |
▷ Public methods | 49 | 94.23% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.77% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin