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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.87ms] Passed 4 tests
A check of server-side resources used by Video Destacado
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 40.10 ▼0.63 |
Dashboard /wp-admin | 3.36 ▲0.05 | 50.78 ▲2.41 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.94 ▲4.95 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.90 ▼21.66 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.37 ▼3.58 |
Featured Video /wp-admin/options-general.php?page=video-destacado | 3.22 | 31.65 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
video_destacado_attachment |
video_destacado_active |
video_destacado_post |
video_destacado_page |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Video Destacado
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 14.78 ▲0.76 | 1.89 ▲0.09 | 40.49 ▼5.92 |
Dashboard /wp-admin | 2,214 ▲26 | 4.88 ▼1.00 | 95.89 ▼19.80 | 39.89 ▼6.43 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.05 ▲0.08 | 41.22 ▲3.32 | 34.99 ▼5.36 |
Add New Post /wp-admin/post-new.php | 1,529 ▼4 | 23.36 ▲0.05 | 616.48 ▼67.25 | 64.07 ▲1.29 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.25 ▲0.08 | 99.36 ▼8.25 | 40.26 ▼8.73 |
Featured Video /wp-admin/options-general.php?page=video-destacado | 858 | 2.06 | 27.23 | 25.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- video_destacado_page
- video_destacado_active
- db_upgraded
- video_destacado_attachment
- video_destacado_post
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=video-destacado
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=video-destacado
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/video-destacado/video-destacado-settings.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/video-destacado/video-destacado-assets.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/video-destacado/video-destacado-metabox.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: youtube, videos, add, post type, featured...
video-destacado/video-destacado.php Passed 13 tests
The primary PHP file in "Video Destacado" version 1.5.0 is used by WordPress to initiate all plugin functionality
65 characters long description:
Insert a video posted to Youtube for posts, pages and custom post
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin616 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 48 | 63 | 221 |
JavaScript | 2 | 20 | 49 | 205 |
PO File | 2 | 24 | 24 | 83 |
Markdown | 1 | 40 | 0 | 79 |
JSON | 1 | 0 | 0 | 21 |
CSS | 1 | 0 | 1 | 7 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 12 | |
▷ Named functions | 12 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin