Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.67ms] Passed 4 tests
An overview of server-side resources used by Fetch Youtube Channel Videos
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.00 ▼7.50 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.59 ▼9.17 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.94 ▼3.36 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.31 ▼10.62 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.78 ▼3.37 |
Youtube Channel Videos /wp-admin/options-general.php?page=youtube-channel-videos | 3.22 | 30.63 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Fetch Youtube Channel Videos: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.72 ▼0.46 | 4.11 ▲2.00 | 43.46 ▼0.56 |
Dashboard /wp-admin | 2,210 ▲19 | 4.84 ▼1.09 | 109.61 ▲5.52 | 39.53 ▼3.29 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.03 ▼0.01 | 39.97 ▲4.21 | 35.34 ▼1.26 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.35 ▲0.00 | 627.84 ▼48.87 | 53.31 ▲0.65 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.24 ▲0.04 | 95.64 ▼1.81 | 43.66 ▲0.69 |
Youtube Channel Videos /wp-admin/options-general.php?page=youtube-channel-videos | 877 | 2.19 | 28.17 | 25.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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× PHP files output text when accessed directly:
- > /wp-content/plugins/fetch-youtube-channel-videos/admin-panel/panel.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/fetch-youtube-channel-videos/admin-panel/fycv_functions.php:96
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/fetch-youtube-channel-videos/admin-panel/form.php:2
- > PHP Warning
Use of undefined constant FYCV_DIR - assumed 'FYCV_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/fetch-youtube-channel-videos/admin-panel/panel.php on line 14
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== fetch-youtube-channel-videos ===
)
fetch-youtube-channel-videos/fetch-youtube-channel-videos.php 92% from 13 tests
This is the main PHP file of "Fetch Youtube Channel Videos" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
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
Good job! No executable or dangerous file extensions detected207 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 7 | 8 | 207 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
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 | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/account-settings.png | 17.08KB | 6.82KB | ▼ 60.05% |