Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- This plugin did not install gracefully
- > Warning in wp-content/plugins/video-playlist-lite/index.php+38
Use of undefined constant AAT_YVY_BOOTSTRAP_FILE - assumed 'AAT_YVY_BOOTSTRAP_FILE' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.96MB] [CPU: ▼57.17ms] Passed 4 tests
Server-side resources used by Player with Playlist Block for WordPress Editor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 6.43 ▼33.96 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.99 ▼50.16 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.43 ▼44.37 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.54 ▼100.17 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.56 ▼29.90 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Player with Playlist Block for WordPress Editor: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,232 ▲446 | 23.14 ▲8.48 | 25.76 ▲23.73 | 49.56 ▲3.33 |
Dashboard /wp-admin | 2,434 ▲257 | 11.56 ▲6.02 | 134.71 ▲40.38 | 39.45 ▼4.99 |
Posts /wp-admin/edit.php | 2,309 ▲209 | 10.56 ▲8.60 | 81.61 ▲43.80 | 33.51 ▲1.75 |
Add New Post /wp-admin/post-new.php | 6,352 ▲4,826 | 29.02 ▲5.93 | 782.49 ▲87.50 | 40.13 ▼18.47 |
Media Library /wp-admin/upload.php | 1,762 ▲362 | 11.28 ▲7.08 | 143.78 ▲37.51 | 43.57 ▼7.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/video-playlist-lite/index.php+38
Use of undefined constant AAT_YVY_BOOTSTRAP_FILE - assumed 'AAT_YVY_BOOTSTRAP_FILE' (this will throw an Error in a future version of PHP)
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: youtube player, embed youtube playlist, player, youtube, embed youtube videos...
video-playlist-lite/index.php 77% from 13 tests
The main file in "Player with Playlist Block for WordPress Editor" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 204 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("video-playlist-lite.php" instead of "index.php")
- Domain Path: The domain path folder was not found ("/languages")
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
No dangerous file extensions were detected261 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 72 | 74 | 220 |
JavaScript | 3 | 0 | 22 | 39 |
CSS | 2 | 0 | 2 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin