Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼7.98ms] Passed 4 tests
A check of server-side resources used by Gosign - Youtube Video Player Block
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.71 ▼7.20 |
Dashboard /wp-admin | 3.31 ▼0.03 | 53.36 ▼8.10 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.28 ▼6.00 |
Add New Post /wp-admin/post-new.php | 5.84 ▼0.05 | 95.22 ▼10.60 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.33 ▼3.95 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Gosign - Youtube Video Player Block
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 13.55 ▼1.04 | 1.71 ▼0.31 | 39.78 ▼6.33 |
Dashboard /wp-admin | 2,203 ▲15 | 5.81 ▲0.92 | 108.49 ▲1.34 | 40.84 ▼2.55 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.06 ▲0.08 | 40.62 ▼0.68 | 33.89 ▼2.29 |
Add New Post /wp-admin/post-new.php | 6,366 ▲4,832 | 22.71 ▼0.55 | 855.81 ▲174.51 | 58.17 ▲7.03 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.24 ▲0.00 | 100.29 ▼3.95 | 41.95 ▼4.66 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions 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
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Requires php: Invalid version format
gosign-youtube-video-player-block/gosign-youtube-video-player-block.php Passed 13 tests
This is the main PHP file of "Gosign - Youtube Video Player Block" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
49 characters long description:
Add Youtube Video Player with customised options.
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 plugin318 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 44 | 130 | 161 |
Markdown | 1 | 26 | 0 | 87 |
PHP | 1 | 25 | 95 | 69 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
8 PNG files occupy 0.30MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500-rtl.png | 87.63KB | 37.93KB | ▼ 56.71% |
assets/images/ybtn-black.png | 1.21KB | 1.04KB | ▼ 14.31% |
assets/icon-128x128.png | 4.45KB | 2.36KB | ▼ 46.88% |
assets/banner-772x250.png | 59.99KB | 26.41KB | ▼ 55.97% |
assets/icon-256x256.png | 9.02KB | 4.47KB | ▼ 50.41% |