Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.48ms] Passed 4 tests
Analyzing server-side resources used by MDC YouTube Downloader
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.92 ▼1.20 |
Dashboard /wp-admin | 3.39 ▲0.09 | 44.87 ▼7.03 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 43.30 ▼2.92 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 81.33 ▼10.77 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.38 ▲2.01 |
Server storage [IO: ▲1.63MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
MDC YouTube Downloader: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲105 | 13.57 ▼0.75 | 2.06 ▲0.29 | 38.22 ▼6.25 |
Dashboard /wp-admin | 2,227 ▲42 | 4.90 ▼0.91 | 103.06 ▼19.00 | 79.89 ▲38.51 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.04 ▲0.02 | 33.69 ▼5.14 | 33.22 ▲0.75 |
Add New Post /wp-admin/post-new.php | 1,685 ▲166 | 22.81 ▼0.68 | 739.77 ▲61.77 | 59.12 ▲11.04 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.22 ▲0.02 | 101.35 ▲8.34 | 45.85 ▲4.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 4× 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/mdc-youtube-downloader/includes/mdc-option-page.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mdc-youtube-downloader/includes/tinymce-mdc-youtube-downloader.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/mdc-youtube-downloader/uninstall.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mdc-youtube-downloader/includes/mdc-option-page.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: youtube, video downloader, downloader, download youtube video, video download...
mdc-youtube-downloader/mdc-youtube-downloader.php 92% from 13 tests
The main file in "MDC YouTube Downloader" v. 3.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
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
Success! There were no dangerous files found in this plugin669 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 67 | 23 | 386 |
JavaScript | 3 | 101 | 8 | 146 |
CSS | 2 | 0 | 1 | 137 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 12.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
13 PNG files occupy 0.30MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/screenshot-2.png | 14.17KB | 7.03KB | ▼ 50.36% |
images/pro-logo.png | 34.57KB | 10.01KB | ▼ 71.04% |
images/screenshot-8.png | 21.29KB | 6.93KB | ▼ 67.43% |
images/screenshot-9.png | 21.60KB | 6.98KB | ▼ 67.69% |
images/screenshot-6.png | 7.85KB | 3.62KB | ▼ 53.89% |