Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.79ms] Passed 4 tests
A check of server-side resources used by Live Shopping & Video Streams For WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.93 ▼1.79 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.21 ▼11.83 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 47.43 ▲2.50 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 97.94 ▼5.98 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 34.79 ▲0.46 |
Server storage [IO: ▲4.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 76 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Live Shopping & Video Streams For WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲35 | 14.82 ▲0.53 | 1.73 ▼0.27 | 45.19 ▲1.51 |
Dashboard /wp-admin | 2,215 ▲27 | 5.83 ▼0.02 | 99.13 ▼15.32 | 39.55 ▼1.89 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▼0.03 | 36.18 ▼4.58 | 36.18 ▲1.25 |
Add New Post /wp-admin/post-new.php | 1,539 ▼0 | 23.27 ▲0.17 | 596.11 ▼47.76 | 41.67 ▼2.16 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.34 ▲0.12 | 97.97 ▲2.96 | 39.65 ▼2.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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 output text when accessed directly:
- > /wp-content/plugins/live-shopping-video-streams/composer-setup.php
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Includes\\Libraries\\Exceptions\\BaseApiException' not found in wp-content/plugins/live-shopping-video-streams/includes/Libraries/Exceptions/ValidationFailException.php:3
- > PHP Fatal error
Uncaught Error: Class 'Includes\\Libraries\\Exceptions\\BaseApiException' not found in wp-content/plugins/live-shopping-video-streams/includes/Libraries/Exceptions/InternalServerException.php:3
- > PHP Fatal error
Uncaught Error: Class 'Includes\\Libraries\\Resource' not found in wp-content/plugins/live-shopping-video-streams/includes/Libraries/Conversation.php:3
- > PHP Notice
Undefined variable: argv in wp-content/plugins/live-shopping-video-streams/composer-setup.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'Includes\\Libraries\\Resource' not found in wp-content/plugins/live-shopping-video-streams/includes/Libraries/PushNotificationSettings.php:3
- > PHP Fatal error
Uncaught Error: Class 'Includes\\Libraries\\Exceptions\\BaseApiException' not found in wp-content/plugins/live-shopping-video-streams/includes/Libraries/Exceptions/ForbiddenException.php:3
- > PHP Fatal error
Uncaught Error: Class 'Includes\\Libraries\\Exceptions\\BaseException' not found in wp-content/plugins/live-shopping-video-streams/includes/Libraries/Exceptions/BaseApiException.php:3
- > PHP Fatal error
Uncaught Error: Class 'Includes\\Libraries\\Exceptions\\BaseApiException' not found in wp-content/plugins/live-shopping-video-streams/includes/Libraries/Exceptions/NoRecordFoundException.php:3
- > PHP Fatal error
Uncaught Error: Class 'Includes\\Libraries\\Exceptions\\BaseApiException' not found in wp-content/plugins/live-shopping-video-streams/includes/Libraries/Exceptions/UnauthorizedException.php:3
- > PHP Fatal error
Uncaught Error: Class 'Includes\\Libraries\\Resource' not found in wp-content/plugins/live-shopping-video-streams/includes/Libraries/Message.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues 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
5 plugin tags: live streaming, live shopping, live stream shopping, streaming, woocommerce
live-shopping-video-streams/channelize-live-shopping.php 85% from 13 tests
Analyzing the main PHP file in "Live Shopping & Video Streams For WooCommerce" version 2.1.6
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("live-shopping-video-streams.php" instead of "channelize-live-shopping.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin3,541 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 46 | 774 | 1,020 | 3,417 |
CSS | 1 | 8 | 1 | 51 |
JavaScript | 2 | 1 | 1 | 45 |
JSON | 2 | 0 | 0 | 27 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 13.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 33 | 100.00% |
▷ Final classes | 1 | 3.03% |
Methods | 160 | |
▷ Static methods | 27 | 16.88% |
▷ Public methods | 128 | 80.00% |
▷ Protected methods | 25 | 15.62% |
▷ Private methods | 7 | 4.38% |
Functions | 26 | |
▷ Named functions | 23 | 88.46% |
▷ Anonymous functions | 3 | 11.54% |
Constants | 20 | |
▷ Global constants | 9 | 45.00% |
▷ Class constants | 11 | 55.00% |
▷ Public constants | 11 | 100.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
8 PNG files occupy 3.77MB with 2.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-7.png | 135.54KB | 57.26KB | ▼ 57.75% |
includes/Overview.png | 94.09KB | 26.88KB | ▼ 71.43% |
assets/screenshot-6.png | 509.61KB | 194.40KB | ▼ 61.85% |
assets/screenshot-8.png | 341.24KB | 150.98KB | ▼ 55.76% |
assets/screenshot-2.png | 757.35KB | 245.68KB | ▼ 67.56% |