Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼6.88ms] Passed 4 tests
Analyzing server-side resources used by Product Video Gallery for Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 38.18 ▼5.90 |
Dashboard /wp-admin | 3.54 ▲0.24 | 43.94 ▼4.41 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 52.06 ▲6.39 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.34 | 83.62 ▼17.38 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 34.73 ▲0.17 |
Product Video WC /wp-admin/edit.php?post_type=product&page=wc-product-video | 3.18 | 24.35 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 31 new options
New WordPress options |
---|
nickx_zoomlevel |
nickx_arrow_thumb |
nickx_show_lightbox |
nickx_vid_autoplay |
nickx_hide_thumbnails |
nickx_gallery_action |
widget_theysaidso_widget |
can_compress_scripts |
nickx_slider_swipe |
nickx_arrowdisable |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Product Video Gallery for Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲68 | 14.45 ▲0.18 | 1.76 ▼0.53 | 38.50 ▼11.03 |
Dashboard /wp-admin | 2,218 ▲30 | 5.89 ▲1.03 | 108.61 ▲1.25 | 43.00 ▲2.52 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.05 ▲0.06 | 40.44 ▲2.12 | 37.27 ▲0.91 |
Add New Post /wp-admin/post-new.php | 1,544 ▲25 | 23.36 ▲2.29 | 656.02 ▲52.96 | 54.44 ▲4.08 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.24 ▲0.04 | 100.35 ▼4.23 | 44.37 ▲0.65 |
Product Video WC /wp-admin/edit.php?post_type=product&page=wc-product-video | 28 | 0.44 | 0.07 | 3.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 31 options
- nickx_arrowbgcolor
- nickx_hide_thumbnails
- nickx_thumbnails_to_show
- nickx_adaptive_height
- nickx_show_lightbox
- nickx_show_only_video
- nickx_slider_responsive
- widget_recent-comments
- nickx_arrowdisable
- nickx_slider_swipe
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=product&page=wc-product-video
- > Network (severe)
wp-admin/edit.php?post_type=product&page=wc-product-video - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (16 tag instead of maximum 10)
product-video-gallery-slider-for-woocommerce/product-video-gallery-slider-for-woocommerce.php 85% from 13 tests
"Product Video Gallery for Woocommerce" version 1.4.2.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 147 characters long)
- Requires at least: The required version number did not match the one declared in readme.txt ("5.2.4" instead of "2.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin5,796 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 1,180 | 652 | 4,302 |
PHP | 6 | 16 | 36 | 1,203 |
CSS | 2 | 0 | 1 | 290 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview 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.51 |
Average class complexity | 42.25 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 6.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 10.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin