Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.96ms] Passed 4 tests
An overview of server-side resources used by Simple Yt Video Feeds
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.70 ▲2.74 |
Dashboard /wp-admin | 3.35 ▲0.01 | 58.05 ▼5.52 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 52.62 ▲1.86 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 91.58 ▼10.92 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.18 ▲9.62 |
Simple Yt Video Feeds /wp-admin/options-general.php?page=simple-yt-video-feeds/simple-yt-video-feeds.php | 3.24 | 34.17 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Yt Video Feeds
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 14.37 ▲0.02 | 2.48 ▲0.87 | 42.40 ▲1.13 |
Dashboard /wp-admin | 2,201 ▲24 | 5.62 ▼0.01 | 90.49 ▼0.73 | 40.12 ▼3.16 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.98 ▲0.04 | 35.84 ▼0.20 | 33.63 ▼1.22 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.05 ▼0.05 | 658.49 ▼15.81 | 53.90 ▼4.77 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.18 ▼0.02 | 101.03 ▼3.00 | 48.46 ▲3.74 |
Simple Yt Video Feeds /wp-admin/options-general.php?page=simple-yt-video-feeds/simple-yt-video-feeds.php | 857 | 2.01 | 25.27 | 32.19 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
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
Everything seems fine, however 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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-yt-video-feeds/simple-yt-video-feeds.php:118
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
7 plugin tags: youtube widget, youtube slider, embed youtube, simple yt video feeds, youtube profile widget plugin...
simple-yt-video-feeds/simple-yt-video-feeds.php Passed 13 tests
This is the main PHP file of "Simple Yt Video Feeds" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
63 characters long description:
Simple Yt Video Feeds - An awesome youtube hosted video slider.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin332 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 57 | 23 | 191 |
CSS | 1 | 7 | 0 | 137 |
HTML | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/syvf_icon.png | 1.78KB | 0.98KB | ▼ 45.02% |