Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/hss-embed-streaming-video/hss-embed-streaming-video.php+36
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.16MB] [CPU: ▼1.26ms] Passed 4 tests
Server-side resources used by HSS Embed Streaming Video
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 43.27 ▲5.16 |
Dashboard /wp-admin | 3.47 ▲0.16 | 50.41 ▼1.26 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 53.52 ▲1.80 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 87.25 ▼8.05 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 39.18 ▲2.47 |
HSS Embed Admin /wp-admin/options-general.php?page=hss_embed_admin | 3.34 | 34.89 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
hss_embed_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for HSS Embed Streaming Video
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.25 ▼0.02 | 2.43 ▲0.43 | 43.88 ▼4.45 |
Dashboard /wp-admin | 2,202 ▲28 | 5.61 ▲0.04 | 84.47 ▼7.33 | 40.48 ▲1.00 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▲0.03 | 38.66 ▲1.85 | 35.24 ▼1.88 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.25 ▲0.12 | 673.26 ▼22.84 | 55.04 ▲0.70 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.17 ▼0.01 | 131.40 ▲30.29 | 51.86 ▲6.53 |
HSS Embed Admin /wp-admin/options-general.php?page=hss_embed_admin | 1,075 | 1.99 | 23.43 | 43.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=hss_embed_admin
- > Notice in wp-content/plugins/hss-embed-streaming-video/hss-embed-streaming-video.php+228
Undefined index: player_width_default
- > GET request to /wp-admin/options-general.php?page=hss_embed_admin
- > Notice in wp-content/plugins/hss-embed-streaming-video/hss-embed-streaming-video.php+228
Undefined index: player_height_default
- > GET request to /wp-admin/options-general.php?page=hss_embed_admin
- > Notice in wp-content/plugins/hss-embed-streaming-video/hss-embed-streaming-video.php+246
Undefined index: player_width_mobile
- > GET request to /wp-admin/options-general.php?page=hss_embed_admin
- > Notice in wp-content/plugins/hss-embed-streaming-video/hss-embed-streaming-video.php+246
Undefined index: player_height_mobile
- > GET request to /wp-admin/options-general.php?page=hss_embed_admin
- > Notice in wp-content/plugins/hss-embed-streaming-video/hss-embed-streaming-video.php+309
Undefined index: jwplayer_license
SRP 50% 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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/hss-embed-streaming-video/hss-embed-streaming-video.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
2 plugin tags: video, streaming
hss-embed-streaming-video/hss-embed-streaming-video.php Passed 13 tests
The primary PHP file in "HSS Embed Streaming Video" version 3.23 is used by WordPress to initiate all plugin functionality
59 characters long description:
Provide access to Streaming Video in your WordPress Website
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
No dangerous file extensions were detected1,154 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 203 | 49 | 1,143 |
CSS | 1 | 3 | 0 | 11 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin