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.04MB] [CPU: ▼11.96ms] Passed 4 tests
Analyzing server-side resources used by Video Player for WPBakery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 37.01 ▲1.58 |
Dashboard /wp-admin | 3.35 ▲0.05 | 40.26 ▼4.52 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.00 ▼3.49 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 74.27 ▼35.62 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.46 ▼4.20 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Video Player for WPBakery
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 13.25 ▼1.34 | 1.60 ▼0.20 | 37.66 ▼1.35 |
Dashboard /wp-admin | 2,215 ▲27 | 4.86 ▼0.05 | 115.89 ▲1.97 | 44.35 ▲2.20 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.18 ▲0.13 | 35.85 ▼4.69 | 35.67 ▼1.56 |
Add New Post /wp-admin/post-new.php | 1,542 ▲7 | 23.05 ▼0.06 | 642.94 ▼10.61 | 52.82 ▲4.55 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.20 ▼0.06 | 96.88 ▲2.82 | 41.56 ▼5.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/video-player-for-wpbakery/video-player-for-wpbakery.php
- > /wp-content/plugins/video-player-for-wpbakery/templates/embed.php
- 14× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: controls in wp-content/plugins/video-player-for-wpbakery/templates/video-html5.php on line 3
- > PHP Notice
Undefined variable: muted in wp-content/plugins/video-player-for-wpbakery/templates/video-html5.php on line 3
- > PHP Notice
Undefined variable: url in wp-content/plugins/video-player-for-wpbakery/templates/video-html5.php on line 4
- > PHP Notice
Undefined variable: height in wp-content/plugins/video-player-for-wpbakery/templates/video-html5.php on line 3
- > PHP Notice
Undefined variable: mime_type in wp-content/plugins/video-player-for-wpbakery/templates/video-html5.php on line 4
- > PHP Notice
Undefined variable: el_class in wp-content/plugins/video-player-for-wpbakery/templates/embed.php on line 1
- > PHP Notice
Undefined variable: el_id in wp-content/plugins/video-player-for-wpbakery/templates/embed.php on line 1
- > PHP Notice
Undefined variable: autoplay in wp-content/plugins/video-player-for-wpbakery/templates/video-html5.php on line 3
- > PHP Notice
Undefined variable: el_id in wp-content/plugins/video-player-for-wpbakery/templates/video-html5.php on line 1
- > PHP Notice
Undefined variable: width in wp-content/plugins/video-player-for-wpbakery/templates/video-html5.php on line 3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4 in video-player-for-wpbakery/assets to your readme.txt
video-player-for-wpbakery/video-player-for-wpbakery.php Passed 13 tests
The main file in "Video Player for WPBakery" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
128 characters long description:
Video Player add-on for WPBakery Page Builder allow add YouTube, Vimeo and Self-Hosted videos (HTML5) to your WordPress website.
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 plugin315 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 35 | 74 | 237 |
SVG | 1 | 0 | 1 | 65 |
CSS | 1 | 1 | 1 | 12 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 11 | 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 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin