Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.61ms] Passed 4 tests
Server-side resources used by Video Player Block - Ultimate Video Player For WordPress.
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.67 ▼2.83 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.59 ▼4.00 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.24 ▼0.97 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 80.83 ▼10.62 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.77 ▲3.43 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Video Player Block - Ultimate Video Player For WordPress.
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▼0.08 | 1.85 ▲0.10 | 42.68 ▲0.51 |
Dashboard /wp-admin | 2,206 ▲14 | 5.87 ▲0.90 | 105.11 ▲1.09 | 39.84 ▼0.36 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▲0.03 | 41.99 ▲3.93 | 35.55 ▲3.16 |
Add New Post /wp-admin/post-new.php | 6,440 ▲4,921 | 28.42 ▲5.33 | 876.85 ▲199.91 | 40.12 ▼14.22 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.19 ▼0.01 | 97.51 ▼4.24 | 39.67 ▼5.10 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/video-player-block/inc/block.php:4
- > PHP Warning
Use of undefined constant VPB_VERSION - assumed 'VPB_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/video-player-block/dist/editor.asset.php on line 4
- > PHP Fatal error
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: A description for screenshot #3 is required in video-player-block/assets to your readme.txt
- Requires at least: Invalid plugin version format
video-player-block/plugin.php 85% from 13 tests
The entry point to "Video Player Block - Ultimate Video Player For WordPress." version 1.0.4 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("video-player-block.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin233 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 95 |
PO File | 1 | 35 | 65 | 88 |
PHP | 4 | 12 | 13 | 44 |
CSS | 3 | 0 | 2 | 3 |
JavaScript | 3 | 0 | 2 | 3 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin