Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.97ms] Passed 4 tests
Analyzing server-side resources used by Supbine live chat & widget for Wordpress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.29 ▼1.40 |
Dashboard /wp-admin | 3.33 ▼0.02 | 45.51 ▼16.15 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.63 ▼0.85 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.15 ▼9.46 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.07 ▼0.55 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Supbine live chat & widget for Wordpress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 13.18 ▼1.61 | 1.66 ▼0.15 | 37.12 ▼5.93 |
Dashboard /wp-admin | 2,226 ▲41 | 5.86 ▲0.96 | 99.30 ▼10.10 | 79.30 ▲35.64 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.03 ▲0.02 | 42.30 ▲8.12 | 37.80 ▼0.41 |
Add New Post /wp-admin/post-new.php | 1,532 ▲13 | 17.76 ▼5.61 | 682.67 ▲14.23 | 56.70 ▲2.76 |
Media Library /wp-admin/upload.php | 1,402 ▲17 | 4.22 ▼0.02 | 95.48 ▼1.12 | 70.16 ▲25.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/supbine/supbine.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Widget on your website - not active), #2 (Widget on your website - email ticket), #3 (Widget on your website - live chat), #4 (Supbine Dashboard - overview), #5 (Supbine Dashboard - visitors), #6 (Supbine Dashboard - active chat)
supbine/supbine.php Passed 13 tests
The entry point to "Supbine live chat & widget for Wordpress" version 1.0 is a PHP file that has certain tags in its header comment area
41 characters long description:
Supbine Widget integration for Wordpress.
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
There were no executable files found in this plugin151 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 25 | 8 | 126 |
CSS | 1 | 3 | 0 | 25 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 compressed PNG files occupy 0.28MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sidebar-logo.png | 0.42KB | 0.35KB | ▼ 15.22% |
screenshot-6.png | 47.66KB | 51.59KB | 0.00% |
screenshot-3.png | 20.75KB | 22.66KB | 0.00% |
screenshot-4.png | 116.74KB | 127.82KB | 0.00% |
screenshot-5.png | 60.49KB | 65.78KB | 0.00% |