Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼0.80ms] Passed 4 tests
Analyzing server-side resources used by Hola Free Video Player
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 45.26 ▲1.92 |
Dashboard /wp-admin | 3.48 ▲0.17 | 57.96 ▲1.39 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 69.25 ▲18.32 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.13 | 94.39 ▼7.35 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 37.91 ▲0.83 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 31 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
hvp-cdn-customerid |
widget_recent-comments |
widget_hvp-widget |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Hola Free Video Player
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲172 | 15.32 ▲2.02 | 1.79 ▼0.14 | 41.36 ▼3.91 |
Dashboard /wp-admin | 2,370 ▲164 | 6.73 ▲1.85 | 149.07 ▲40.80 | 43.58 ▲2.03 |
Posts /wp-admin/edit.php | 2,273 ▲181 | 3.68 ▲1.63 | 57.90 ▲16.33 | 32.01 ▼2.60 |
Add New Post /wp-admin/post-new.php | 1,735 ▲193 | 18.62 ▲0.31 | 595.35 ▼17.19 | 35.94 ▼13.69 |
Media Library /wp-admin/upload.php | 1,413 ▲34 | 4.37 ▲0.00 | 86.11 ▼19.54 | 39.57 ▼5.50 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- db_upgraded
- hvp-cdn-customerid
- widget_recent-comments
- widget_theysaidso_widget
- widget_hvp-widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/hola-free-video-player/free-video-player.php:24
- > 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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #3, #4 in hola-free-video-player/assets to your readme.txt
hola-free-video-player/free-video-player.php 85% from 13 tests
This is the main PHP file of "Hola Free Video Player" version 1.3.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("hola-free-video-player.php" instead of "free-video-player.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected2,188 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 260 | 138 | 1,181 |
PHP | 11 | 127 | 251 | 662 |
CSS | 1 | 0 | 5 | 309 |
SVG | 6 | 0 | 0 | 36 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 5.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 9 | |
▷ Global constants | 9 | 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
6 PNG files occupy 0.21MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 8.07KB | 3.61KB | ▼ 55.25% |
assets/screenshot-4.png | 97.09KB | 49.63KB | ▼ 48.88% |
assets/screenshot-3.png | 16.56KB | 9.54KB | ▼ 42.42% |
assets/icon-256x256.png | 16.73KB | 6.73KB | ▼ 59.80% |
assets/screenshot-1.png | 61.01KB | 34.11KB | ▼ 44.08% |