Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.97MB] [CPU: ▼342.86ms] Passed 4 tests
A check of server-side resources used by WP Video Enhanced
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.24 | 57.97 ▲4.14 |
Dashboard /wp-admin | 3.36 ▼0.05 | 32.30 ▼54.29 |
Posts /wp-admin/edit.php | 3.36 ▼0.28 | 20.63 ▼18.87 |
Add New Post /wp-admin/post-new.php | 3.36 ▼3.61 | 19.68 ▼1,287.90 |
Media Library /wp-admin/upload.php | 3.36 ▲0.06 | 18.01 ▼10.37 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 4 new options
New WordPress options |
---|
wpve_general_settings |
wpve_version |
wpve_brand_settings |
wpve_privacy_settings |
Browser metrics Passed 4 tests
Checking browser requirements for WP Video Enhanced
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,015 ▲293 | 17.53 ▲1.84 | 6.04 ▼0.00 | 3.14 ▲0.91 |
Dashboard /wp-admin | 3,112 ▲251 | 8.41 ▲2.23 | 164.13 ▲22.10 | 166.66 ▲4.96 |
Posts /wp-admin/edit.php | 2,954 ▲270 | 4.98 ▲1.74 | 80.34 ▼11.23 | 141.17 ▼23.55 |
Add New Post /wp-admin/post-new.php | 1,692 ▲32 | 17.83 ▼1.78 | 389.77 ▼27.51 | 158.65 ▲0.03 |
Media Library /wp-admin/upload.php | 1,740 ▲45 | 5.70 ▲0.17 | 109.54 ▼29.87 | 185.43 ▼3.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/wp-video-enhanced/admin/class-wpve-admin.php+324
Function create_function() is deprecated
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-video-enhanced/admin/templates/settings.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% 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:
- Tags: You are using too many tags: 11 tag instead of maximum 10
wp-video-enhanced/wp-video-enhanced.php 92% from 13 tests
The primary PHP file in "WP Video Enhanced" version 1.3.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin1,101 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 358 | 628 | 842 |
JavaScript | 2 | 64 | 45 | 150 |
CSS | 1 | 18 | 20 | 108 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 16.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 52 | |
▷ Static methods | 2 | 3.85% |
▷ Public methods | 47 | 90.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 9.62% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
No PNG images were found in this plugin