Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲5.80MB] [CPU: ▲46.85ms] 75% from 4 tests
An overview of server-side resources used by Html5 Video Player - mp4 player, Video Player for WordPress
It is recommended to improve the following
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.80MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.26 ▲5.79 | 80.41 ▲38.08 |
Dashboard /wp-admin | 9.14 ▲5.79 | 107.63 ▲46.60 |
Posts /wp-admin/edit.php | 9.19 ▲5.83 | 94.54 ▲47.69 |
Add New Post /wp-admin/post-new.php | 11.79 ▲5.90 | 151.66 ▲55.02 |
Media Library /wp-admin/upload.php | 9.02 ▲5.79 | 106.07 ▲71.14 |
Upgrade /wp-admin/admin.php?page=video-player-pricing-manual | 9.02 | 82.15 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.24 | 77.30 |
Server storage [IO: ▲7.20MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 459 new files
Database: 2 new tables, 14 new options
New tables |
---|
wp_h5vp_views |
wp_h5vp_videos |
New WordPress options |
---|
widget_recent-posts |
h5vp_views_database_version |
theysaidso_admin_options |
h5vp_plugin_do_activation_redirect |
db_upgraded |
fs_active_plugins |
h5vp_quick |
can_compress_scripts |
widget_recent-comments |
fs_accounts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Html5 Video Player - mp4 player, Video Player for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲146 | 14.32 ▼0.38 | 1.82 ▼0.04 | 36.88 ▼6.47 |
Dashboard /wp-admin | 2,296 ▲116 | 5.64 ▼0.01 | 101.53 ▲2.72 | 112.33 ▲65.59 |
Posts /wp-admin/edit.php | 2,220 ▲120 | 2.86 ▲0.85 | 46.69 ▲7.96 | 56.48 ▲18.57 |
Add New Post /wp-admin/post-new.php | 6,304 ▲4,778 | 25.86 ▲2.58 | 948.43 ▲296.60 | 53.23 ▲0.59 |
Media Library /wp-admin/upload.php | 1,513 ▲113 | 5.17 ▲1.08 | 120.42 ▲26.34 | 98.06 ▲57.00 |
Upgrade /wp-admin/admin.php?page=video-player-pricing-manual | 1,762 | 3.70 | 76.17 | 120.60 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,124 | 2.54 | 30.36 | 31.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/html5-video-player/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_h5vp_views
- wp_h5vp_videos
- This plugin does not fully uninstall, leaving 14 options in the database
- widget_recent-comments
- fs_accounts
- h5vp_quick
- h5vp_videos_database_version
- fs_active_plugins
- theysaidso_admin_options
- can_compress_scripts
- h5vp_plugin_do_activation_redirect
- db_upgraded
- h5vp_option
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 26× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/html5-video-player/inc/elementor-custom-control/register-controls.php:75
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/html5-video-player/admin/global/free-plugin-list.php on line 2
- > PHP Warning
require_once(wp-content/plugins/html5-video-player/inc/Services/Helper/DefaultArgs.php): failed to open stream: No such file or directory in wp-content/plugins/html5-video-player/inc/Services/playlist.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/html5-video-player/elementor-widget.php:75
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/html5-video-player/inc/Base/licence-check.php:10
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/html5-video-player/inc/Services/Helper/DefaultArgs.php' (include_path='.:/usr/share/php') in wp-content/plugins/html5-video-player/inc/Services/playlist.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function H5VP\\Database\\get_option() in wp-content/plugins/html5-video-player/inc/Database/Table.php:18
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/html5-video-player/inc/Rest/Test.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/html5-video-player/inc/Base/duplicate-player.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function H5VP\\Model\\add_action() in wp-content/plugins/html5-video-player/inc/Model/AjaxCall.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=video-player-pricing-manual
- > Security (severe) in unknown
https://js.freemius.com/vendors/nojquery.ba-postmessage.min.js?v=180 11 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://wicked-wildebeest-npzlm.instawp.xyz') does not match the recipient window's origin ('').
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: A description for screenshot #4 is missing in html5-video-player/assets to your readme.txt
html5-video-player/html5-video-player.php Passed 13 tests
Analyzing the main PHP file in "Html5 Video Player - mp4 player, Video Player for WordPress" version 2.5.17
87 characters long description:
You can easily integrate html5 Video player in your wordress website using this plugin.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected84,761 lines of code in 372 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 276 | 12,770 | 20,256 | 56,962 |
JavaScript | 24 | 1,391 | 649 | 7,299 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
CSS | 26 | 410 | 632 | 6,268 |
Sass | 16 | 970 | 3 | 5,674 |
JSON | 8 | 44 | 0 | 2,056 |
SVG | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 40.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 168 | |
▷ Abstract classes | 4 | 2.38% |
▷ Concrete classes | 164 | 97.62% |
▷ Final classes | 2 | 1.22% |
Methods | 1,878 | |
▷ Static methods | 350 | 18.64% |
▷ Public methods | 1,465 | 78.01% |
▷ Protected methods | 25 | 1.33% |
▷ Private methods | 388 | 20.66% |
Functions | 146 | |
▷ Named functions | 140 | 95.89% |
▷ Anonymous functions | 6 | 4.11% |
Constants | 155 | |
▷ Global constants | 102 | 65.81% |
▷ Class constants | 53 | 34.19% |
▷ Public constants | 53 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 0.31MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/drive.png | 0.81KB | 0.95KB | 0.00% |
admin/img/icn.png | 3.20KB | 0.81KB | ▼ 74.79% |
admin/img/aws.png | 1.68KB | 0.92KB | ▼ 45.29% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/html5-video-player.png | 181.53KB | 10.95KB | ▼ 93.97% |