Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼309.83ms] Passed 4 tests
Analyzing server-side resources used by Responsive Video Light
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 55.26 ▲2.31 |
Dashboard /wp-admin | 3.43 ▲0.02 | 34.59 ▼10.64 |
Posts /wp-admin/edit.php | 3.65 ▲0.02 | 41.97 ▲1.86 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 96.22 ▼1,231.00 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 24.98 ▲0.48 |
Responsive Video Light /wp-admin/options-general.php?page=rvl_options | 3.34 | 21.47 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Responsive Video Light
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,806 ▲52 | 15.80 ▼0.21 | 6.16 ▲0.16 | 2.32 ▼0.36 |
Dashboard /wp-admin | 2,901 ▲43 | 6.08 ▼0.11 | 119.72 ▼16.58 | 153.81 ▼9.21 |
Posts /wp-admin/edit.php | 2,693 ▲5 | 3.23 ▼0.01 | 104.08 ▲39.49 | 155.37 ▲7.24 |
Add New Post /wp-admin/post-new.php | 1,718 ▲57 | 21.26 ▼1.45 | 431.45 ▲10.56 | 180.60 ▼31.08 |
Media Library /wp-admin/upload.php | 1,707 ▲6 | 5.50 ▼0.03 | 152.81 ▲21.29 | 193.79 ▼0.35 |
Responsive Video Light /wp-admin/options-general.php?page=rvl_options | 1,755 | 2.74 | 81.54 | 190.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=rvl_options
- > Notice in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php+18
Undefined index: disable_youtube_related_videos
- > GET request to /wp-admin/options-general.php?page=rvl_options
- > Notice in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php+35
Undefined index: enable_youtube_autoplay
- > GET request to /wp-admin/options-general.php?page=rvl_options
- > Notice in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php+51
Undefined index: disable_youtube_showinfo
- > GET request to /wp-admin/options-general.php?page=rvl_options
- > Notice in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php+71
Undefined index: enable_modest_branding
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=rvl_options
- > Notice in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php+89
Undefined index: youtube_wmode
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=rvl_options
- > Notice in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php+113
Undefined index: youtube_theme
- > GET request to /wp-admin/options-general.php?page=rvl_options
- > Notice in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php+161
Undefined index: disable_vimeo_title_display
- > GET request to /wp-admin/options-general.php?page=rvl_options
- > Notice in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php+176
Undefined index: disable_vimeo_byline_display
- > GET request to /wp-admin/options-general.php?page=rvl_options
- > Notice in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php+190
Undefined index: disable_vimeo_portrait_display
- > GET request to /wp-admin/options-general.php?page=rvl_options
- > Notice in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php+204
Undefined index: enable_vimeo_autoplay
- > GET request to /wp-admin/options-general.php?page=rvl_options
- > Notice in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php+220
Undefined index: enable_vimeo_loop
SRP 0% 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
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php
- > /wp-content/plugins/responsive-video-light/templates/rvl_plugin_options_head.php
- 29× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php on line 113
- > PHP Notice
Undefined variable: options in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php on line 112
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php on line 204
- > PHP Notice
Undefined variable: options in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php on line 35
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php on line 87
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php on line 35
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php on line 88
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php on line 220
- > PHP Notice
Undefined variable: options in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php on line 51
- > PHP Notice
Undefined variable: options in wp-content/plugins/responsive-video-light/templates/rvl_plugin_options.php on line 161
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== responsive-video-light ===
)
responsive-video-light/responsive-video-light.php Passed 13 tests
The primary PHP file in "Responsive Video Light" version 1.5.2 is used by WordPress to initiate all plugin functionality
52 characters long description:
A plugin to add responsive videos to pages and posts
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
Good job! No executable or dangerous file extensions detected613 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 36 | 56 | 577 |
CSS | 3 | 5 | 4 | 36 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected