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.18MB] [CPU: ▼18.80ms] Passed 4 tests
Server-side resources used by YouTube Playlists with Schema
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▼0.54 | 18.48 ▼27.08 |
Dashboard /wp-admin | 3.48 ▲0.14 | 48.52 ▼13.17 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 48.79 ▲3.57 |
Add New Post /wp-admin/post-new.php | 5.38 ▼0.50 | 63.00 ▼37.23 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 38.60 ▲2.30 |
YouTube Playlists with Schema /wp-admin/options-general.php?page=jmayt_settings | 3.38 | 33.34 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for YouTube Playlists with Schema
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲35 | 14.05 ▼0.22 | 1.80 ▲0.09 | 37.05 ▼7.37 |
Dashboard /wp-admin | 2,202 ▲24 | 5.60 ▼0.07 | 95.06 ▼19.02 | 37.41 ▼6.11 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▼0.06 | 40.69 ▲4.75 | 36.69 ▼0.72 |
Add New Post /wp-admin/post-new.php | 6,254 ▲4,718 | 21.64 ▼1.36 | 966.78 ▲294.62 | 39.15 ▼17.33 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.17 ▼0.03 | 96.00 ▼2.19 | 45.56 ▼1.33 |
YouTube Playlists with Schema /wp-admin/options-general.php?page=jmayt_settings | 1,396 | 1.90 | 37.73 | 32.98 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'JMAYtVideo' not found in wp-content/plugins/jma-youtube-playlists-with-schema/classes/JMAYtList.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: youtube gallery, youtube seo, schema, youtube channel, youtube playlist...
jma-youtube-playlists-with-schema/youtube-playlists-with-schema.php 85% from 13 tests
"YouTube Playlists with Schema" version 2.6.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("jma-youtube-playlists-with-schema.php" instead of "youtube-playlists-with-schema.php")
- Description: The description should be shorter than 140 characters (currently 166 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected3,874 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 180 | 347 | 1,645 |
JavaScript | 8 | 189 | 180 | 1,384 |
CSS | 4 | 139 | 34 | 557 |
SVG | 1 | 0 | 0 | 288 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 36.40 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 6.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 4 | 13.33% |
▷ Public methods | 20 | 66.67% |
▷ Protected methods | 7 | 23.33% |
▷ Private methods | 3 | 10.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 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.07MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/jquery.minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |