Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.26ms] Passed 4 tests
A check of server-side resources used by Video Gallery for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 34.21 ▼9.91 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.67 ▼14.19 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.71 ▼3.80 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.81 ▼13.15 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.53 ▲1.51 |
Server storage [IO: ▲9.88MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 70 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
abl_vwg_version |
widget_recent-posts |
can_compress_scripts |
vwg_settings_group |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Video Gallery for WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.57 ▼0.16 | 1.83 ▲0.03 | 37.47 ▼6.73 |
Dashboard /wp-admin | 2,195 ▲24 | 5.62 ▼0.02 | 94.96 ▼1.67 | 40.02 ▼4.42 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▲0.01 | 40.52 ▲0.55 | 36.04 ▼0.39 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.98 ▼0.30 | 571.48 ▼21.76 | 49.52 ▼10.17 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▲0.03 | 97.14 ▲2.63 | 42.20 ▲1.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- vwg_settings_group
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: product video, video files, media library, product page, woocommerce...
video-wc-gallery/video-wc-gallery.php 92% from 13 tests
The main PHP file in "Video Gallery for WooCommerce" ver. 1.17 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 167 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin34,536 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 6 | 0 | 12 | 14,394 |
CSS | 16 | 3,898 | 67 | 9,712 |
JavaScript | 19 | 994 | 450 | 9,196 |
PHP | 9 | 233 | 307 | 1,234 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 40 | |
▷ Named functions | 40 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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