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.26MB] [CPU: ▼4.90ms] Passed 4 tests
An overview of server-side resources used by Easy Digital Downloads HSS Extension for Streaming Video
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.26 | 37.80 ▲0.01 |
Dashboard /wp-admin | 3.57 ▲0.26 | 46.15 ▼1.21 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 44.56 ▼4.90 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 86.82 ▼13.49 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 37.47 ▲1.37 |
HSS Admin /wp-admin/options-general.php?page=hss_admin | 3.44 | 33.08 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
hss_options |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Digital Downloads HSS Extension for Streaming Video
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲74 | 14.21 ▼0.35 | 2.53 ▲0.81 | 37.40 ▼3.15 |
Dashboard /wp-admin | 2,196 ▲16 | 5.56 ▼0.07 | 83.61 ▼2.93 | 38.63 ▼4.15 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 1.99 ▲0.05 | 34.86 ▼2.08 | 32.71 ▼0.41 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.24 ▼0.08 | 665.68 ▼75.96 | 54.81 ▲3.60 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.19 ▲0.03 | 95.62 ▼22.02 | 40.26 ▼8.52 |
HSS Admin /wp-admin/options-general.php?page=hss_admin | 1,207 | 2.01 | 22.52 | 38.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- hss_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=hss_admin
- > Notice in wp-content/plugins/easydigitaldownloads-hoststreamsell-extension/includes/add-download.php+394
Undefined index: player_width_default
- > GET request to /wp-admin/options-general.php?page=hss_admin
- > Notice in wp-content/plugins/easydigitaldownloads-hoststreamsell-extension/includes/add-download.php+394
Undefined index: player_height_default
- > GET request to /wp-admin/options-general.php?page=hss_admin
- > Notice in wp-content/plugins/easydigitaldownloads-hoststreamsell-extension/includes/add-download.php+400
Undefined index: player_width_mobile
- > GET request to /wp-admin/options-general.php?page=hss_admin
- > Notice in wp-content/plugins/easydigitaldownloads-hoststreamsell-extension/includes/add-download.php+400
Undefined index: player_height_mobile
- > GET request to /wp-admin/options-general.php?page=hss_admin
- > Notice in wp-content/plugins/easydigitaldownloads-hoststreamsell-extension/includes/add-download.php+412
Undefined index: player_responsive_max_width
- > GET request to /wp-admin/options-general.php?page=hss_admin
- > Notice in wp-content/plugins/easydigitaldownloads-hoststreamsell-extension/includes/add-download.php+450
Undefined index: jwplayer_license
- > GET request to /wp-admin/options-general.php?page=hss_admin
- > Notice in wp-content/plugins/easydigitaldownloads-hoststreamsell-extension/includes/add-download.php+485
Undefined index: subtitle_font_size
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=hss_admin
- > Notice in wp-content/plugins/easydigitaldownloads-hoststreamsell-extension/includes/add-download.php+508
Undefined index: jwplayer_stretching
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=hss_admin
- > Notice in wp-content/plugins/easydigitaldownloads-hoststreamsell-extension/includes/add-download.php+527
Undefined index: logging
- > GET request to /wp-admin/options-general.php?page=hss_admin
- > Notice in wp-content/plugins/easydigitaldownloads-hoststreamsell-extension/includes/add-download.php+544
Undefined index: watching_trailer_text
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/easydigitaldownloads-hoststreamsell-extension/hss_edd_extensions.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/easydigitaldownloads-hoststreamsell-extension/includes/add-download.php:3
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: cart, video, streaming, sell
easydigitaldownloads-hoststreamsell-extension/hss_edd_extensions.php 92% from 13 tests
The principal PHP file in "Easy Digital Downloads HSS Extension for Streaming Video" v. 3.22 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("easydigitaldownloads-hoststreamsell-extension.php" instead of "hss_edd_extensions.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,829 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 221 | 114 | 1,823 |
CSS | 1 | 2 | 0 | 6 |
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.35 |
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 | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin