Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.00ms] Passed 4 tests
An overview of server-side resources used by YouTube DJ
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.13 ▼4.60 |
Dashboard /wp-admin | 3.37 ▲0.07 | 48.79 ▼8.23 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.65 ▼3.10 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 96.58 ▲0.11 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.57 ▼0.06 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for YouTube DJ
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.08 | 1.83 ▲0.12 | 42.56 ▼4.58 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▼0.01 | 90.05 ▼10.52 | 39.43 ▼8.02 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.99 ▼0.03 | 40.74 ▲6.95 | 36.90 ▼0.54 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 18.53 ▼4.98 | 619.39 ▼90.15 | 65.23 ▲5.57 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.04 | 98.32 ▼17.17 | 44.78 ▼5.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/youtube-dj/youtube-dj.php:43
- > PHP Fatal error
Uncaught Error: Class 'Youtubedj_Object' not found in wp-content/plugins/youtube-dj/objects/deck.php:3
- > PHP Fatal error
Uncaught Error: Class 'Youtubedj_Object' not found in wp-content/plugins/youtube-dj/objects/queue.php:3
- > PHP Fatal error
Uncaught Error: Class 'Youtubedj_Object' not found in wp-content/plugins/youtube-dj/objects/search.php:3
- > PHP Fatal error
Uncaught Error: Class 'Youtubedj_Object' not found in wp-content/plugins/youtube-dj/objects/mixer.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 () image missing
youtube-dj/youtube-dj.php 92% from 13 tests
This is the main PHP file of "YouTube DJ" version 0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
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
Everything looks great! No dangerous files found in this plugin1,178 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 70 | 48 | 530 |
JavaScript | 1 | 91 | 15 | 342 |
PHP | 7 | 120 | 23 | 306 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 4.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 10 | 41.67% |
▷ Public methods | 16 | 66.67% |
▷ Protected methods | 4 | 16.67% |
▷ Private methods | 4 | 16.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/ui-lightness/images/ui-icons_228ef1_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/ui-lightness/images/ui-icons_ef8c08_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png | 0.12KB | 0.16KB | 0.00% |
css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png | 0.25KB | 0.15KB | ▼ 37.45% |
css/ui-lightness/images/ui-icons_ffd27a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |