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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.35MB] [CPU: ▼14.73ms] Passed 4 tests
Analyzing server-side resources used by TalkShopLive Player
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.35 | 46.37 ▲6.80 |
Dashboard /wp-admin | 3.65 ▲0.35 | 51.80 ▼2.98 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 51.66 ▼3.07 |
Add New Post /wp-admin/post-new.php | 3.46 ▼2.42 | 42.72 ▼59.14 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 41.31 ▲6.26 |
Server storage [IO: ▲0.09MB] [DB: ▼0.05MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
talk_shop_live::player_defaults |
widget_recent-posts |
widget_talk_shop_live_player_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by TalkShopLive Player
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.33 ▼1.04 | 2.40 ▼0.32 | 40.93 ▼2.39 |
Dashboard /wp-admin | 2,226 ▲64 | 4.93 ▼0.74 | 101.55 ▲14.80 | 37.30 ▼8.39 |
Posts /wp-admin/edit.php | 2,140 ▲54 | 2.33 ▲0.30 | 44.33 ▲6.26 | 34.54 ▲1.82 |
Add New Post /wp-admin/post-new.php | 6,225 ▲4,711 | 19.03 ▼4.70 | 865.61 ▲231.64 | 36.76 ▼25.24 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.49 ▲0.22 | 103.20 ▼1.48 | 47.32 ▼0.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▼0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_talk_shop_live_player_widget
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: embed, streaming, talkshoplive, live embed, live shopping
talkshoplive-player/talkshoplive.php 77% from 13 tests
The entry point to "TalkShopLive Player" version 1.0.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/public/lang" does not exist
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("talkshoplive-player.php" instead of "talkshoplive.php")
- Description: The description should be shorter than 140 characters (currently 312 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,783 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 447 | 407 | 1,679 |
JavaScript | 4 | 6 | 3 | 76 |
SVG | 1 | 0 | 1 | 15 |
CSS | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 6.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 1.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 160 | |
▷ Static methods | 12 | 7.50% |
▷ Public methods | 146 | 91.25% |
▷ Protected methods | 14 | 8.75% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 14 | 100.00% |
Constants | 27 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 27 | 100.00% |
▷ Public constants | 26 | 96.30% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin