Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.90ms] Passed 4 tests
An overview of server-side resources used by Free customer chat solution
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.25 ▼0.40 |
Dashboard /wp-admin | 3.34 ▲0.04 | 41.46 ▼10.34 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.99 ▲1.31 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 75.50 ▼14.18 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.10 ▲2.37 |
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: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
wp_sonetel_bar_activated |
widget_recent-posts |
wp_sonetel_activated |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Free customer chat solution: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲87 | 14.73 ▲0.34 | 1.53 ▼0.03 | 36.26 ▼5.12 |
Dashboard /wp-admin | 2,257 ▲86 | 5.54 ▼0.04 | 95.25 ▲7.80 | 42.61 ▲3.72 |
Posts /wp-admin/edit.php | 2,160 ▲60 | 2.05 ▲0.05 | 35.57 ▼1.26 | 31.92 ▼6.03 |
Add New Post /wp-admin/post-new.php | 1,541 ▲12 | 23.48 ▲0.58 | 672.23 ▲3.50 | 48.59 ▼24.91 |
Media Library /wp-admin/upload.php | 1,462 ▲65 | 4.24 ▲0.12 | 96.72 ▼2.27 | 40.38 ▼4.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% 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 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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/sonetel-website-chat/views/wp-sonetel-admin-display.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/sonetel-website-chat/wp-sonetel.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: free chat, sonetel
sonetel-website-chat/wp-sonetel.php 85% from 13 tests
Analyzing the main PHP file in "Free customer chat solution" version 1.0.7
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 145 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("sonetel-website-chat.php" instead of "wp-sonetel.php")
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
There were no executable files found in this plugin327 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 55 | 10 | 202 |
CSS | 1 | 13 | 0 | 83 |
SVG | 4 | 0 | 0 | 42 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 3 | 23.08% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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