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.05MB] [CPU: ▼5.20ms] Passed 4 tests
This is a short check of server-side resources used by Videojs HTML5 Player
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.19 ▼3.13 |
Dashboard /wp-admin | 3.35 ▲0.05 | 50.53 ▼5.15 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 45.02 ▼2.64 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 86.20 ▼9.88 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.17 ▲2.12 |
Videojs HTML5 Player /wp-admin/options-general.php?page=videojs-html5-player-settings | 3.24 | 33.97 |
Server storage [IO: ▲12.71MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 108 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Videojs HTML5 Player
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲179 | 14.38 ▼0.01 | 15.79 ▲13.35 | 44.08 ▼2.35 |
Dashboard /wp-admin | 2,213 ▲25 | 5.88 ▲0.01 | 103.11 ▼10.47 | 39.73 ▼7.73 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.03 | 36.14 ▲0.89 | 32.37 ▼3.79 |
Add New Post /wp-admin/post-new.php | 1,537 ▲15 | 23.17 ▼0.05 | 648.82 ▼22.38 | 53.48 ▲0.53 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.20 ▲0.06 | 103.42 ▼11.94 | 43.30 ▼6.03 |
Videojs HTML5 Player /wp-admin/options-general.php?page=videojs-html5-player-settings | 806 | 2.02 | 27.42 | 35.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: videojs, player, video, embed, html5
videojs-html5-player/videojs-html5-player.php 92% from 13 tests
"Videojs HTML5 Player" version 1.1.10's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected193,597 lines of code in 99 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 53 | 56,712 | 116,373 | 188,988 |
JSON | 39 | 1 | 0 | 2,675 |
CSS | 4 | 229 | 6 | 1,555 |
PHP | 2 | 23 | 32 | 265 |
SVG | 1 | 0 | 0 | 114 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
addons/images/videojs-disable-right-click.png | 3.80KB | 1.80KB | ▼ 52.63% |