Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼1.09ms] Passed 4 tests
A check of server-side resources used by TechGasp Tube Master
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.44 ▲0.97 |
Dashboard /wp-admin | 3.41 ▲0.10 | 46.05 ▼2.13 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 48.19 ▲1.44 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 94.60 ▲7.98 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.13 ▼4.64 |
Tube Master /wp-admin/admin.php?page=youtube-master | 3.31 | 30.82 |
Add-ons /wp-admin/admin.php?page=youtube-master-admin-addons | 3.35 | 43.58 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_youtube_master_widget_hangouts_basic |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
widget_youtube_master_widget_buttons |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for TechGasp Tube Master
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 13.59 ▼1.14 | 1.72 ▼0.16 | 40.45 ▼9.10 |
Dashboard /wp-admin | 2,235 ▲50 | 4.93 ▼0.94 | 98.64 ▼11.49 | 66.47 ▲23.37 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 1.99 ▼0.01 | 37.93 ▲0.45 | 34.11 ▼1.32 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.17 ▲4.69 | 673.28 ▲67.39 | 62.93 ▲2.30 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.22 ▲0.04 | 96.36 ▼1.36 | 82.17 ▲39.30 |
Tube Master /wp-admin/admin.php?page=youtube-master | 1,766 | 8.01 | 212.01 | 77.69 |
Add-ons /wp-admin/admin.php?page=youtube-master-admin-addons | 1,097 | 2.02 | 25.09 | 45.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_youtube_master_widget_hangouts_basic
- widget_youtube_master_widget_buttons
- theysaidso_admin_options
Smoke tests 50% 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/youtube-master/includes/youtube-master-admin-table-header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/youtube-master/includes/youtube-master-admin-table-news.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/youtube-master/includes/youtube-master-widget-youtube-buttons.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/youtube-master/includes/youtube-master-admin-addons.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/youtube-master/includes/youtube-master-widget-youtube-hangouts-basic.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/youtube-master/includes/youtube-master-admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/youtube-master/includes/youtube-master-admin-addons-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/youtube-master/youtube-master.php:53
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=youtube-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=youtube-master
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/admin.php?page=youtube-master
- > Deprecation (warning) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yx/r/RBH7b7zeA6F.js?_nc_x=Ij3Wp8lg5Kz 271 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- > GET request to /wp-admin/admin.php?page=youtube-master
- > Console-api (severe) in unknown
https://static.xx.fbcdn.net/rsrc.php/v3/yx/r/RBH7b7zeA6F.js?_nc_x=Ij3Wp8lg5Kz 60:573 "ErrorUtils caught an error:\n\nCannot listen to an undefined element. [Caught in: Tried to listen to element of type click]\n\nSubsequent non-fatal errors won't be logged; see https://fburl.com/debugjs."
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
youtube-master/youtube-master.php 92% from 13 tests
The main PHP script in "TechGasp Tube Master" version 5.1.4 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 144 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin603 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 30 | 74 | 603 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
9 PNG files occupy 0.28MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/techgasp-check-yes.png | 22.22KB | 7.59KB | ▼ 65.83% |
images/techgasp-check-no.png | 21.14KB | 7.14KB | ▼ 66.23% |
images/techgasp-minilogo-16.png | 1.86KB | 0.92KB | ▼ 50.87% |
images/techgasp-admin-addons-updater.png | 14.03KB | 13.02KB | ▼ 7.21% |
images/techgasp-admin-addons-shortcodes.png | 21.28KB | 20.24KB | ▼ 4.91% |