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.02MB] [CPU: ▼4.33ms] Passed 4 tests
A check of server-side resources used by Bontact - Multichannel Live Contact Form
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.56 ▼3.46 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.05 ▼4.76 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.53 ▼0.73 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 80.16 ▼8.37 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.91 ▲0.54 |
Server storage [IO: ▲1.64MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Bontact - Multichannel Live Contact Form
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲120 | 14.44 ▲0.13 | 1.78 ▼0.01 | 39.86 ▼3.24 |
Dashboard /wp-admin | 2,459 ▲271 | 5.92 ▲0.01 | 111.70 ▼3.16 | 116.20 ▲72.17 |
Posts /wp-admin/edit.php | 2,347 ▲258 | 2.06 ▲0.03 | 39.36 ▲4.86 | 43.55 ▲12.06 |
Add New Post /wp-admin/post-new.php | 1,561 ▲41 | 23.37 ▲0.27 | 736.28 ▲84.10 | 68.72 ▼1.19 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.40 ▲0.17 | 99.83 ▼3.68 | 67.55 ▲23.44 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 90% 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 your attention:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please add images for these screenshots: #1 (Bontact widget on your site), #2 (Active live chat window), #3 (Active Callback window), #4 (Chat Dashboard), #5 (Dashboard Settings - Widget style), #6 (Dashboard Reports – Chart history)
bontact/bontact.php 92% from 13 tests
The principal PHP file in "Bontact - Multichannel Live Contact Form" v. 1.2.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 173 characters long)
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
Success! There were no dangerous files found in this plugin414 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 118 | 39 | 367 |
CSS | 4 | 12 | 10 | 46 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 7.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 83.33% |
▷ Protected methods | 3 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 1.49MB with 0.99MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 556.72KB | 170.06KB | ▼ 69.45% |
screenshot-5.png | 82.44KB | 29.78KB | ▼ 63.88% |
assets/images/logo-bontact-16x16.png | 1.14KB | 0.23KB | ▼ 80.17% |
screenshot-6.png | 100.87KB | 37.76KB | ▼ 62.57% |
screenshot-3.png | 72.66KB | 33.11KB | ▼ 54.44% |