Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.13ms] Passed 4 tests
A check of server-side resources used by SaleAssist Live Video Engagements
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.97 ▼0.60 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.56 ▼4.65 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 50.84 ▲4.07 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 84.22 ▼11.13 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.48 ▲3.88 |
Server storage [IO: ▲3.76MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 69 new files
Database: 2 new tables, 11 new options
New tables |
---|
wp_saleassist_btn |
wp_saleassist |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
saleassist_api_key |
saleassist_db_version |
db_upgraded |
saleassist_secret_key |
widget_recent-comments |
theysaidso_admin_options |
saleassist_data |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for SaleAssist Live Video Engagements
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,075 ▲340 | 17.81 ▲3.39 | 332.02 ▲330.14 | 70.64 ▲25.18 |
Dashboard /wp-admin | 2,345 ▲154 | 5.97 ▲1.10 | 105.59 ▼12.53 | 97.69 ▲50.86 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 1.97 ▼0.09 | 37.54 ▲3.05 | 44.41 ▲9.87 |
Add New Post /wp-admin/post-new.php | 1,524 ▼12 | 23.16 ▼0.11 | 763.05 ▲67.47 | 54.93 ▼4.41 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.18 ▲0.01 | 108.08 ▲10.05 | 84.14 ▲37.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/saleassist/saleassist.php
- 31× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: type in wp-content/plugins/saleassist/views/notice.php on line 96
- > PHP Notice
Undefined variable: type in wp-content/plugins/saleassist/views/notice.php on line 92
- > PHP Notice
Undefined variable: type in wp-content/plugins/saleassist/views/notice.php on line 104
- > PHP Notice
Undefined variable: type in wp-content/plugins/saleassist/views/notice.php on line 135
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/saleassist/views/config.php:11
- > PHP Fatal error
Uncaught Error: Class 'Saleassist' not found in wp-content/plugins/saleassist/wrapper.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/saleassist/class.saleassist-widget.php:5
- > PHP Notice
Undefined variable: type in wp-content/plugins/saleassist/views/notice.php on line 108
- > PHP Notice
Undefined variable: type in wp-content/plugins/saleassist/views/notice.php on line 41
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/saleassist/views/predefined.php:2
- > PHP Notice
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 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #2, #4, #5, #6, #7, #8, #9 in saleassist/assets to your readme.txt
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
saleassist/saleassist.php 92% from 13 tests
The entry point to "SaleAssist Live Video Engagements" version 2.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 494 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected24,842 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 1,620 | 87 | 13,694 |
JavaScript | 10 | 2,109 | 1,856 | 8,885 |
PHP | 18 | 332 | 401 | 2,263 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 83 | |
▷ Static methods | 77 | 92.77% |
▷ Public methods | 80 | 96.39% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.61% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 13 | 72.22% |
▷ Class constants | 5 | 27.78% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
13 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon.png | 0.70KB | 0.60KB | ▼ 14.33% |
assets/colorpicker/images/custom_hsb_s.png | 1.14KB | 0.89KB | ▼ 21.75% |
_inc/img/logo-a-2x.png | 2.74KB | 1.24KB | ▼ 54.84% |
assets/colorpicker/images/custom_rgb_b.png | 0.98KB | 0.74KB | ▼ 25.00% |
assets/colorpicker/images/custom_hsb_b.png | 1.07KB | 0.82KB | ▼ 23.61% |