Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.78ms] Passed 4 tests
Analyzing server-side resources used by Charla Live Chat
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.32 ▼5.83 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.90 ▼9.18 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.21 ▼1.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 92.20 ▼6.33 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 30.44 ▼1.37 |
Charla Live Chat /wp-admin/options-general.php?page=charla-live-chat-settings | 3.24 | 27.87 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Charla Live Chat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲177 | 13.64 ▼0.78 | 5.00 ▲3.20 | 39.77 ▼9.05 |
Dashboard /wp-admin | 2,234 ▲43 | 4.86 ▼1.02 | 113.73 ▲11.58 | 41.70 ▼4.23 |
Posts /wp-admin/edit.php | 2,114 ▲28 | 2.05 ▲0.05 | 39.25 ▼0.05 | 33.85 ▲3.92 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.10 ▲0.03 | 599.78 ▼3.56 | 48.92 ▼1.84 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.17 ▼0.05 | 98.06 ▼0.12 | 42.70 ▼0.51 |
Charla Live Chat /wp-admin/options-general.php?page=charla-live-chat-settings | 829 | 2.02 | 27.32 | 26.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/charla-live-chat/admin/partials/charla-live-chat-admin-display.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/charla-live-chat/admin/partials/charla-live-chat-admin-settings-display.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: chat, live chat, charla live chat, charla
charla-live-chat/charla-live-chat.php Passed 13 tests
This is the main PHP file of "Charla Live Chat" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
79 characters long description:
Add Charla Live Chat Widget to your site without writing a single line of code.
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
Success! There were no dangerous files found in this plugin322 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 136 | 561 | 279 |
SVG | 1 | 0 | 1 | 22 |
JavaScript | 2 | 7 | 27 | 12 |
CSS | 1 | 1 | 4 | 9 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 3.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected