Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.56ms] Passed 4 tests
This is a short check of server-side resources used by Rapidly load YouTube (YouTube高速ローダー)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.46 ▲4.17 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.76 ▼4.76 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 54.45 ▲7.75 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.56 ▼4.74 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.96 ▲3.10 |
Rapidly load YouTube embedding /wp-admin/tools.php?page=dn_thum_youtube_menu | 3.24 | 33.67 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Rapidly load YouTube (YouTube高速ローダー)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.42 ▲0.05 | 1.50 ▼0.14 | 39.31 ▼0.39 |
Dashboard /wp-admin | 2,196 ▲19 | 5.51 ▼0.08 | 90.39 ▲1.24 | 40.46 ▼0.15 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 1.96 ▼0.01 | 39.25 ▲1.27 | 38.08 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 23.02 ▼0.02 | 646.41 ▲3.02 | 57.67 ▼2.29 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.17 ▼0.08 | 96.53 ▼6.84 | 45.36 ▲4.12 |
Rapidly load YouTube embedding /wp-admin/tools.php?page=dn_thum_youtube_menu | 813 | 2.00 | 23.77 | 26.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rapidly-load-youtube/thumbnails-youtube.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: movie, thumnail, load, rapid, youtube
rapidly-load-youtube/thumbnails-youtube.php 92% from 13 tests
The main PHP file in "Rapidly load YouTube (YouTube高速ローダー)" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rapidly-load-youtube.php" instead of "thumbnails-youtube.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected232 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 42 | 125 |
CSS | 2 | 10 | 0 | 59 |
PO File | 1 | 7 | 2 | 25 |
JavaScript | 1 | 6 | 4 | 23 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 9 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 10.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.08MB with 0.08MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/youtube_social_icon_dark.png | 41.65KB | 1.56KB | ▼ 96.26% |
images/youtube_social_icon_red.png | 41.45KB | 1.07KB | ▼ 97.42% |