Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲5.47MB] [CPU: ▲23.73ms] 75% from 4 tests
A check of server-side resources used by Really Simple Featured Video - Featured video support for Posts, Pages & WooCommerce Products
Please have a look at the following items
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.47MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.22 ▲5.76 | 65.16 ▲17.32 |
Dashboard /wp-admin | 9.24 ▲5.94 | 76.77 ▲26.41 |
Posts /wp-admin/edit.php | 9.25 ▲5.88 | 83.10 ▲34.30 |
Add New Post /wp-admin/post-new.php | 10.20 ▲4.31 | 109.67 ▲19.02 |
Media Library /wp-admin/upload.php | 9.25 ▲6.01 | 67.94 ▲32.18 |
Really Simple Featured Video /wp-admin/options-general.php?page=rsfv-settings | 9.25 | 63.18 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.25 | 60.97 |
Server storage [IO: ▲3.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 213 new files
Database: no new tables, 17 new options
New WordPress options |
---|
db_upgraded |
rsfv_previous_db_version |
theme-engine-status |
can_compress_scripts |
rsfv_db_version |
embed_video_controls |
widget_recent-posts |
rsfv_options |
theme-compatibility-engine |
post_types |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Really Simple Featured Video - Featured video support for Posts, Pages & WooCommerce Products
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.38 ▲0.03 | 2.16 ▲0.33 | 30.07 ▼13.38 |
Dashboard /wp-admin | 2,216 ▲39 | 5.57 ▼0.11 | 87.19 ▼16.52 | 42.79 ▼3.25 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 1.98 ▼0.00 | 42.58 ▲6.53 | 38.99 ▲4.56 |
Add New Post /wp-admin/post-new.php | 6,261 ▲4,733 | 18.88 ▼4.24 | 879.32 ▲188.83 | 65.45 ▲2.38 |
Media Library /wp-admin/upload.php | 1,421 ▲18 | 4.21 ▲0.08 | 96.45 ▼3.79 | 45.63 ▼0.83 |
Really Simple Featured Video /wp-admin/options-general.php?page=rsfv-settings | 979 | 1.65 | 28.16 | 58.24 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,073 | 1.66 | 24.04 | 29.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/really-simple-featured-video/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 17 options
- fs_active_plugins
- theysaidso_admin_options
- can_compress_scripts
- post_types
- widget_theysaidso_widget
- fs_accounts
- db_upgraded
- fs_debug_mode
- theme-engine-status
- embed_video_controls
- ...
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'RSFV\\Compatibility\\Themes\\Base_Compatibility' not found in wp-content/plugins/really-simple-featured-video/includes/Compatibility/Themes/Fallback/class-compatibility.php:17
- > PHP Fatal error
Uncaught Error: Class 'RSFV\\Compatibility\\Themes\\Base_Compatibility' not found in wp-content/plugins/really-simple-featured-video/includes/Compatibility/Themes/Core/Twentytwenty_Two/class-compatibility.php:17
- > PHP Fatal error
Uncaught Error: Class 'RSFV\\Compatibility\\Themes\\Base_Compatibility' not found in wp-content/plugins/really-simple-featured-video/includes/Compatibility/Themes/Core/Twentytwenty_Three/class-compatibility.php:17
- > PHP Fatal error
Uncaught Error: Class 'RSFV\\Compatibility\\Themes\\Base_Compatibility' not found in wp-content/plugins/really-simple-featured-video/includes/Compatibility/Themes/Core/Twentytwenty/class-compatibility.php:17
- > PHP Fatal error
Uncaught Error: Class 'RSFV\\Compatibility\\Themes\\Base_Compatibility' not found in wp-content/plugins/really-simple-featured-video/includes/Compatibility/Themes/Core/Twentytwenty_One/class-compatibility.php:17
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: woocommerce, featured, youtube, product-video, video embed...
really-simple-featured-video/really-simple-featured-video.php 92% from 13 tests
The main PHP file in "Really Simple Featured Video - Featured video support for Posts, Pages & WooCommerce Products" ver. 0.7.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis 97% from 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
Good job! No executable or dangerous file extensions detected35,520 lines of code in 163 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 142 | 8,494 | 18,418 | 34,914 |
JavaScript | 5 | 47 | 78 | 335 |
CSS | 15 | 38 | 0 | 241 |
Markdown | 1 | 22 | 0 | 30 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
It is recommended to fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 67.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 71 | |
▷ Abstract classes | 5 | 7.04% |
▷ Concrete classes | 66 | 92.96% |
▷ Final classes | 1 | 1.52% |
Methods | 1,377 | |
▷ Static methods | 217 | 15.76% |
▷ Public methods | 983 | 71.39% |
▷ Protected methods | 20 | 1.45% |
▷ Private methods | 374 | 27.16% |
Functions | 108 | |
▷ Named functions | 106 | 98.15% |
▷ Anonymous functions | 2 | 1.85% |
Constants | 157 | |
▷ Global constants | 106 | 67.52% |
▷ Class constants | 51 | 32.48% |
▷ Public constants | 51 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/images/video_frame.png | 1.16KB | 0.49KB | ▼ 57.60% |
freemius/assets/img/really-simple-featured-video.png | 7.70KB | 3.33KB | ▼ 56.78% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |