Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.10MB] [CPU: ▼11.38ms] Passed 4 tests
An overview of server-side resources used by Real-time User-to-User Chat, Video & Voice Calling for WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 37.09 ▼2.09 |
Dashboard /wp-admin | 3.57 ▲0.27 | 52.75 ▼1.45 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 53.89 ▲2.55 |
Add New Post /wp-admin/post-new.php | 4.80 ▼1.09 | 49.39 ▼44.51 |
Media Library /wp-admin/upload.php | 3.43 ▲0.21 | 40.24 ▲4.46 |
User Role Setting /wp-admin/admin.php?page=channelize_user_role_settings | 3.40 | 36.24 |
General /wp-admin/admin.php?page=channelize-settings | 3.40 | 36.10 |
Migration /wp-admin/admin.php?page=channelize_migraton_settings | 3.41 | 34.34 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
channelize |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_channelize_widget |
channelize_userrole |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Real-time User-to-User Chat, Video & Voice Calling for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲129 | 13.57 ▼0.81 | 1.85 ▲0.26 | 40.83 ▲2.74 |
Dashboard /wp-admin | 2,266 ▲60 | 4.86 ▼0.24 | 109.45 ▲2.08 | 42.31 ▼5.91 |
Posts /wp-admin/edit.php | 2,145 ▲45 | 2.03 ▲0.05 | 40.71 ▲2.94 | 38.28 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,562 ▲15 | 17.59 ▼5.41 | 706.65 ▲47.48 | 41.11 ▼13.27 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.26 ▲0.07 | 99.32 ▼1.31 | 45.45 ▲3.37 |
User Role Setting /wp-admin/admin.php?page=channelize_user_role_settings | 966 | 2.03 | 36.17 | 54.64 |
General /wp-admin/admin.php?page=channelize-settings | 895 | 2.07 | 24.36 | 27.51 |
Migration /wp-admin/admin.php?page=channelize_migraton_settings | 953 | 1.94 | 29.10 | 40.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-comments
- theysaidso_admin_options
- channelize
- widget_recent-posts
- widget_channelize_widget
- db_upgraded
- widget_theysaidso_widget
- channelize_userrole
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'PrimeMessenger\\Primemessenger\\Exceptions\\BaseApiException' not found in wp-content/plugins/channelize-io-real-time-messaging-and-video-calling/libraries/channelize-php/lib/Primemessenger/Exceptions/ValidationFailException.php:3
- > PHP Fatal error
Uncaught Error: Class 'PrimeMessenger\\Primemessenger\\Resource' not found in wp-content/plugins/channelize-io-real-time-messaging-and-video-calling/libraries/channelize-php/lib/Primemessenger/Message.php:3
- > PHP Fatal error
Uncaught Error: Class 'PrimeMessenger\\Primemessenger\\Resource' not found in wp-content/plugins/channelize-io-real-time-messaging-and-video-calling/libraries/channelize-php/lib/Primemessenger/PushNotificationSettings.php:3
- > PHP Fatal error
Uncaught Error: Class 'PrimeMessenger\\Primemessenger\\Exceptions\\BaseApiException' not found in wp-content/plugins/channelize-io-real-time-messaging-and-video-calling/libraries/channelize-php/lib/Primemessenger/Exceptions/UnauthorizedException.php:3
- > PHP Fatal error
Uncaught Error: Class 'PrimeMessenger\\Primemessenger\\Exceptions\\BaseApiException' not found in wp-content/plugins/channelize-io-real-time-messaging-and-video-calling/libraries/channelize-php/lib/Primemessenger/Exceptions/ForbiddenException.php:3
- > PHP Fatal error
Uncaught Error: Class 'PrimeMessenger\\Primemessenger\\Resource' not found in wp-content/plugins/channelize-io-real-time-messaging-and-video-calling/libraries/channelize-php/lib/Primemessenger/User.php:4
- > PHP Fatal error
Uncaught Error: Class 'PrimeMessenger\\Primemessenger\\Exceptions\\BaseApiException' not found in wp-content/plugins/channelize-io-real-time-messaging-and-video-calling/libraries/channelize-php/lib/Primemessenger/Exceptions/InternalServerException.php:3
- > PHP Fatal error
Uncaught Error: Class 'PrimeMessenger\\Primemessenger\\Resource' not found in wp-content/plugins/channelize-io-real-time-messaging-and-video-calling/libraries/channelize-php/lib/Primemessenger/Conversation.php:3
- > PHP Fatal error
Uncaught Error: Class 'PrimeMessenger\\Primemessenger\\Exceptions\\BaseException' not found in wp-content/plugins/channelize-io-real-time-messaging-and-video-calling/libraries/channelize-php/lib/Primemessenger/Exceptions/BaseApiException.php:3
- > PHP Fatal error
Uncaught Error: Class 'PrimeMessenger\\Primemessenger\\Exceptions\\BaseApiException' not found in wp-content/plugins/channelize-io-real-time-messaging-and-video-calling/libraries/channelize-php/lib/Primemessenger/Exceptions/NoRecordFoundException.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: chat, audio call, video call, calling, real-time chat
channelize-io-real-time-messaging-and-video-calling/channelize-io-real-time-messaging-and-video-calling.php 85% from 13 tests
"Real-time User-to-User Chat, Video & Voice Calling for WordPress" version 2.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 277 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,912 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 345 | 651 | 1,571 |
JavaScript | 5 | 9 | 24 | 157 |
CSS | 5 | 10 | 23 | 144 |
JSON | 2 | 0 | 0 | 28 |
YAML | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 6.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 126 | |
▷ Static methods | 9 | 7.14% |
▷ Public methods | 113 | 89.68% |
▷ Protected methods | 5 | 3.97% |
▷ Private methods | 8 | 6.35% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 12 | |
▷ Global constants | 1 | 8.33% |
▷ Class constants | 11 | 91.67% |
▷ Public constants | 11 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.49MB with 0.35MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/screenshots/docked.png | 62.32KB | 18.20KB | ▼ 70.80% |
admin/screenshots/full.png | 346.67KB | 100.84KB | ▼ 70.91% |
admin/screenshots/Overview.png | 94.09KB | 26.88KB | ▼ 71.43% |