Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼6.54ms] Passed 4 tests
Server-side resources used by Simple YouTube Responsive
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 43.12 ▲1.27 |
Dashboard /wp-admin | 3.46 ▲0.12 | 49.99 ▼15.68 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 49.60 ▼0.15 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 87.93 ▼11.58 |
Media Library /wp-admin/upload.php | 3.39 ▲0.15 | 40.25 ▲6.70 |
Shortcode /wp-admin/admin.php?page=eirudo_ytresponsive_shortcode | 3.35 | 30.64 |
About /wp-admin/admin.php?page=eirudo_ytresponsive_about | 3.35 | 34.14 |
Configure /wp-admin/admin.php?page=eirudo_ytresponsive_options | 3.35 | 34.32 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 8 new options
New WordPress options |
---|
_erdyt_ver |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
_erdyt_options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple YouTube Responsive
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.20 ▼0.17 | 1.76 ▲0.03 | 42.29 ▼1.58 |
Dashboard /wp-admin | 2,226 ▲48 | 5.67 ▼0.06 | 88.74 ▼17.40 | 40.54 ▲0.05 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 1.98 ▲0.01 | 37.13 ▲0.55 | 37.28 ▲3.07 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 22.96 ▼0.23 | 676.30 ▲51.75 | 54.64 ▲0.26 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.19 ▼0.03 | 98.16 ▼3.39 | 43.92 ▼1.31 |
Shortcode /wp-admin/admin.php?page=eirudo_ytresponsive_shortcode | 1,159 | 2.09 | 23.30 | 45.67 |
About /wp-admin/admin.php?page=eirudo_ytresponsive_about | 1,056 | 2.12 | 24.56 | 42.58 |
Configure /wp-admin/admin.php?page=eirudo_ytresponsive_options | 1,060 | 2.13 | 24.36 | 29.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 8 options in the database
- can_compress_scripts
- _erdyt_ver
- _erdyt_options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in simple-youtube-responsive/assets to your readme.txt
simple-youtube-responsive/eirudo-ytresponsive.php 92% from 13 tests
This is the main PHP file of "Simple YouTube Responsive" version 3.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-youtube-responsive.php" instead of "eirudo-ytresponsive.php")
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 plugin982 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 172 | 155 | 913 |
JavaScript | 3 | 5 | 19 | 62 |
CSS | 1 | 0 | 5 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 7.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 14 | 87.50% |
▷ Anonymous functions | 2 | 12.50% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin