Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼4.80ms] Passed 4 tests
Analyzing server-side resources used by Genesis Featured Video
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 39.88 ▼1.61 |
Dashboard /wp-admin | 3.48 ▲0.18 | 45.28 ▼4.09 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 42.73 ▼1.72 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 81.22 ▼11.79 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 38.02 ▲0.11 |
Featured Video /wp-admin/admin.php?page=gfv-settings | 3.37 | 32.66 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_featured-video |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Genesis Featured Video
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.25 ▼0.10 | 1.71 ▼0.07 | 45.07 ▲2.82 |
Dashboard /wp-admin | 2,201 ▲24 | 5.56 ▼0.08 | 82.92 ▼14.26 | 42.21 ▼4.30 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.97 ▼0.02 | 35.90 ▲1.85 | 35.64 ▼1.68 |
Add New Post /wp-admin/post-new.php | 6,234 ▲4,703 | 18.88 ▼4.34 | 938.10 ▲273.05 | 63.45 ▲10.25 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.27 ▲0.10 | 112.29 ▲16.05 | 50.58 ▲5.41 |
Featured Video /wp-admin/admin.php?page=gfv-settings | 854 | 2.01 | 27.85 | 29.70 |
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 7 options in the database
- widget_featured-video
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 fix the following items
- 8× PHP files output text when accessed directly:
- > /wp-content/plugins/featured-videos-for-genesis/includes/video-image.php
- > /wp-content/plugins/featured-videos-for-genesis/includes/gfv-settings.php
- > /wp-content/plugins/featured-videos-for-genesis/includes/video-format.php
- > /wp-content/plugins/featured-videos-for-genesis/includes/gfv-post-types.php
- > /wp-content/plugins/featured-videos-for-genesis/includes/gfv-metabox.php
- > /wp-content/plugins/featured-videos-for-genesis/lib/gfv.php
- > /wp-content/plugins/featured-videos-for-genesis/genesis-featured-video.php
- > /wp-content/plugins/featured-videos-for-genesis/includes/widget.php
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 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: featured video, genesis, featured image
featured-videos-for-genesis/genesis-featured-video.php 85% from 13 tests
The main PHP script in "Genesis Featured Video" version 1.1.5 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("featured-videos-for-genesis.php" instead of "genesis-featured-video.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin706 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 140 | 172 | 697 |
CSS | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG images were found in this plugin