Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼3.64ms] Passed 4 tests
A check of server-side resources used by Sticky Spotlight Video Player
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 43.13 ▲1.38 |
Dashboard /wp-admin | 3.44 ▲0.14 | 52.20 ▼2.91 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 52.76 ▼1.57 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 90.25 ▼11.39 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 38.43 ▲1.32 |
New Video Shortcode /wp-admin/edit.php?post_type=video_embed&page=video_embed_add_new | 3.40 | 39.50 |
Video Shortcodes /wp-admin/edit.php?post_type=video_embed | 3.44 | 49.57 |
Server storage [IO: ▲3.38MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 182 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Sticky Spotlight Video Player
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.38 ▼0.05 | 1.85 ▼0.20 | 43.83 ▼7.32 |
Dashboard /wp-admin | 2,206 ▲26 | 5.60 ▼0.08 | 99.95 ▲6.38 | 85.16 ▲36.61 |
Posts /wp-admin/edit.php | 2,126 ▲23 | 2.01 ▼0.05 | 35.63 ▼8.47 | 34.23 ▼3.73 |
Add New Post /wp-admin/post-new.php | 1,702 ▲171 | 22.56 ▼0.72 | 658.32 ▼28.52 | 48.38 ▼17.30 |
Media Library /wp-admin/upload.php | 1,417 ▲20 | 4.16 ▼0.06 | 101.58 ▲3.69 | 73.79 ▲31.33 |
New Video Shortcode /wp-admin/edit.php?post_type=video_embed&page=video_embed_add_new | 2,457 | 4.37 | 95.32 | 110.48 |
Video Shortcodes /wp-admin/edit.php?post_type=video_embed | 1,293 | 3.66 | 55.68 | 85.42 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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 no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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
Everything seems fine on the user side
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
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
sticky-spotlight-video-player/sticky-spotlight-video-player.php Passed 13 tests
"Sticky Spotlight Video Player" version 2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
91 characters long description:
This plugin gives a very simple way to add your videos into your Wordpress Pages and Posts.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Please fix the following items
- For security reasons, never distribute binary or executable files with your plugin
- .ps1 - Windows PowerShell Cmdlet in Windows
- ☣ wp-content/plugins/sticky-spotlight-video-player/assets/bootstrap/nuget/MyGet.ps1
- .ps1 - Windows PowerShell Cmdlet in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 111 | 47 | 10,169 |
LESS | 85 | 1,209 | 1,586 | 7,236 |
JavaScript | 26 | 1,514 | 673 | 4,382 |
JSON | 6 | 0 | 0 | 3,197 |
Sass | 14 | 34 | 34 | 1,656 |
PHP | 4 | 467 | 69 | 1,233 |
SVG | 2 | 0 | 0 | 973 |
Markdown | 3 | 60 | 0 | 109 |
XML | 2 | 0 | 0 | 56 |
YAML | 1 | 11 | 16 | 55 |
PowerShell | 1 | 2 | 2 | 4 |
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.24 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/icon.png | 1.32KB | 0.59KB | ▼ 55.59% |
admin/assets/wistia_logo.png | 1.31KB | 0.60KB | ▼ 54.22% |