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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.61ms] Passed 4 tests
An overview of server-side resources used by RB Responsive Video Output
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 42.79 ▲2.97 |
Dashboard /wp-admin | 3.39 ▲0.08 | 52.20 ▼3.61 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 49.47 ▲0.84 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 86.67 ▼26.64 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.05 ▲3.93 |
Add New /wp-admin/post-new.php?post_type=video | 3.40 | 53.67 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=video | 3.31 | 36.25 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=video | 3.30 | 39.37 |
Videos /wp-admin/edit.php?post_type=video | 3.36 | 39.49 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 31 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
category_children |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for RB Responsive Video Output
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲68 | 14.72 ▲0.37 | 2.12 ▲0.16 | 44.37 ▲2.82 |
Dashboard /wp-admin | 2,229 ▲52 | 5.49 ▼0.09 | 91.11 ▼5.18 | 38.60 ▼1.67 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 2.00 ▲0.04 | 37.57 ▼3.66 | 36.25 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,563 ▲35 | 23.14 ▼0.09 | 699.40 ▲105.76 | 53.17 ▼16.67 |
Media Library /wp-admin/upload.php | 1,435 ▲32 | 4.23 ▼0.06 | 105.52 ▼0.90 | 42.30 ▼4.40 |
Add New /wp-admin/post-new.php?post_type=video | 2,038 | 3.78 | 72.74 | 40.57 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=video | 1,357 | 2.12 | 29.78 | 30.18 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=video | 1,490 | 2.13 | 27.09 | 31.55 |
Videos /wp-admin/edit.php?post_type=video | 1,156 | 1.97 | 31.67 | 32.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- category_children
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rb-responsive-video-output/admin/custom_columns.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rb-responsive-video-output/public/shortcode.php:302
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rb-responsive-video-output/video-base.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: modal, videos, responsive, gallery, youtube
rb-responsive-video-output/video-base.php 85% from 13 tests
The main file in "RB Responsive Video Output" v. 1.2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("rb-responsive-video-output.php" instead of "video-base.php")
- Description: The description should be shorter than 140 characters (currently 155 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected2,554 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 335 | 142 | 1,534 |
LESS | 5 | 56 | 57 | 489 |
PHP | 4 | 97 | 46 | 373 |
Markdown | 1 | 83 | 0 | 97 |
JSON | 1 | 0 | 0 | 44 |
SVG | 1 | 0 | 0 | 15 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.48MB with 0.32MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshots/gallery.png | 149.83KB | 43.31KB | ▼ 71.09% |
public/images/play-icon.png | 15.81KB | 5.82KB | ▼ 63.16% |
screenshots/embed.png | 111.34KB | 40.13KB | ▼ 63.95% |
screenshots/modal.png | 213.79KB | 60.86KB | ▼ 71.53% |