Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.90MB] [CPU: ▼325.89ms] Passed 4 tests
A check of server-side resources used by Simple Featured Video
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.04 | 58.22 ▲4.58 |
Dashboard /wp-admin | 3.47 ▲0.06 | 39.02 ▲5.93 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 41.27 ▲2.02 |
Add New Post /wp-admin/post-new.php | 3.26 ▼3.71 | 28.16 ▼1,309.37 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 25.17 ▼0.79 |
Simple Featured Video /wp-admin/options-general.php?page=sfv_menu_page | 3.36 | 28.89 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 1 new option
New WordPress options |
---|
sfv_posts_types |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Featured Video
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,963 ▲209 | 17.31 ▲1.67 | 5.56 ▼0.88 | 2.21 ▼0.55 |
Dashboard /wp-admin | 3,092 ▲234 | 8.07 ▲1.92 | 142.65 ▲9.86 | 158.30 ▼8.10 |
Posts /wp-admin/edit.php | 2,920 ▲235 | 5.05 ▲1.82 | 76.69 ▲9.66 | 142.24 ▼5.25 |
Add New Post /wp-admin/post-new.php | 1,706 ▲16 | 17.91 ▼2.71 | 385.65 ▼59.13 | 187.23 ▲25.31 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.50 ▼0.02 | 109.12 ▼32.26 | 188.84 ▼7.80 |
Simple Featured Video /wp-admin/options-general.php?page=sfv_menu_page | 1,409 | 4.23 | 73.07 | 117.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 1 option
- sfv_posts_types
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/simple-featured-video/simple-featured-video.php:17
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Requires at least: Invalid version format
simple-featured-video/simple-featured-video.php 77% from 13 tests
The primary PHP file in "Simple Featured Video" version 1.3 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Domain Path: Prefix the domain path with a forward slash character ("/")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("")
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected374 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 53 | 59 | 350 |
JavaScript | 1 | 0 | 2 | 24 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin