Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5643
File class-oembed.php is deprecated since version 5.3.0! Use wp-includes/class-wp-oembed.php instead.
Server metrics [RAM: ▼1.96MB] [CPU: ▼50.62ms] Passed 4 tests
Analyzing server-side resources used by Featured Video Plus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 3.81 ▼36.01 |
Dashboard /wp-admin | 2.05 ▼1.26 | 7.07 ▼37.82 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.11 ▼40.07 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.52 ▼88.57 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.80 ▼28.20 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 48 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
fvp-settings |
widget_recent-posts |
can_compress_scripts |
fvp-version |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Featured Video Plus
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲192 | 13.61 ▼0.77 | 9.03 ▲7.42 | 37.08 ▼1.77 |
Dashboard /wp-admin | 2,209 ▲20 | 4.86 ▼0.11 | 108.47 ▼7.77 | 36.58 ▼6.31 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.05 | 39.03 ▲1.97 | 34.25 ▲0.19 |
Add New Post /wp-admin/post-new.php | 6,499 ▲4,979 | 20.40 ▼2.78 | 941.69 ▲293.13 | 38.81 ▼15.86 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.27 ▲0.07 | 105.81 ▲5.06 | 45.54 ▼1.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5643
File class-oembed.php is deprecated since version 5.3.0! Use wp-includes/class-wp-oembed.php instead.
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- db_upgraded
- fvp-version
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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 take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/featured-video-plus/php/inc-upgrade.php
- 17× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/featured-video-plus/php/inc-install.php:20
- > PHP Fatal error
require_once(): Failed opening required 'FVP_DIRphp/class-html.php' (include_path='.:/usr/share/php') in wp-content/plugins/featured-video-plus/php/class-settings.php on line 4
- > PHP Warning
require_once(FVP_DIRphp/class-html.php): failed to open stream: No such file or directory in wp-content/plugins/featured-video-plus/php/class-main.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'FVP_DIRphp/class-html.php' (include_path='.:/usr/share/php') in wp-content/plugins/featured-video-plus/php/class-backend.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'FVP_DIRphp/class-main.php' (include_path='.:/usr/share/php') in wp-content/plugins/featured-video-plus/php/class-frontend.php on line 4
- > PHP Warning
Use of undefined constant FVP_DIR - assumed 'FVP_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/featured-video-plus/php/class-main.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/featured-video-plus/featured-video-plus.php:38
- > PHP Warning
require_once(FVP_DIRphp/class-html.php): failed to open stream: No such file or directory in wp-content/plugins/featured-video-plus/php/class-backend.php on line 4
- > PHP Warning
Use of undefined constant FVP_DIR - assumed 'FVP_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/featured-video-plus/php/class-help.php on line 4
- > PHP Warning
require_once(FVP_DIRphp/class-main.php): failed to open stream: No such file or directory in wp-content/plugins/featured-video-plus/php/class-frontend.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
featured-video-plus/featured-video-plus.php Passed 13 tests
"Featured Video Plus" version 2.3.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
44 characters long description:
Add Featured Videos to your posts and pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected4,447 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 556 | 881 | 2,484 |
JavaScript | 13 | 256 | 236 | 1,017 |
PO File | 2 | 152 | 162 | 320 |
CSS | 3 | 0 | 0 | 218 |
LESS | 4 | 37 | 16 | 208 |
Markdown | 3 | 65 | 0 | 171 |
JSON | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 43.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 83 | |
▷ Static methods | 27 | 32.53% |
▷ Public methods | 64 | 77.11% |
▷ Protected methods | 4 | 4.82% |
▷ Private methods | 15 | 18.07% |
Functions | 8 | |
▷ Named functions | 8 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/playicon.png | 0.55KB | 0.71KB | 0.00% |
img/placeholder.png | 1.26KB | 0.93KB | ▼ 26.51% |