Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.75ms] Passed 4 tests
An overview of server-side resources used by Video Grid
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.79 ▲1.89 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.39 ▼2.42 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.49 ▲2.84 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 85.06 ▼13.32 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.31 ▲3.33 |
Preview Gallery /wp-admin/admin.php?page=video_grid_with_lightbox_video_preview | 3.27 | 37.41 |
Manage Videos /wp-admin/admin.php?page=video_grid_with_lightbox_video_management | 3.27 | 39.02 |
Gallery Settings /wp-admin/admin.php?page=video_grid_with_lightbox | 3.27 | 36.39 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 42 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_responsive_video_grid |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
responsive_video_grid_messages |
theysaidso_admin_options |
responsive_video_grid_settings |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Video Grid
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.28 ▼1.33 | 1.68 ▼0.17 | 43.51 ▲0.20 |
Dashboard /wp-admin | 2,234 ▲43 | 5.81 ▲0.94 | 95.69 ▼6.99 | 38.67 ▼0.47 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 2.05 ▲0.06 | 34.72 ▼0.95 | 35.35 ▲3.81 |
Add New Post /wp-admin/post-new.php | 1,559 ▲45 | 23.29 ▲5.68 | 616.10 ▼65.83 | 62.07 ▼8.18 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.21 ▼0.04 | 94.52 ▼14.11 | 41.23 ▼4.00 |
Preview Gallery /wp-admin/admin.php?page=video_grid_with_lightbox_video_preview | 1,104 | 3.34 | 43.09 | 24.99 |
Manage Videos /wp-admin/admin.php?page=video_grid_with_lightbox_video_management | 1,296 | 3.37 | 42.93 | 65.67 |
Gallery Settings /wp-admin/admin.php?page=video_grid_with_lightbox | 1,399 | 4.86 | 98.02 | 74.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_responsive_video_grid
- Zombie WordPress options were found after uninstall: 8 options
- responsive_video_grid_settings
- responsive_video_grid_messages
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/video-grid/wp-video-grid.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: wordpress video grid lightbox, responsive video grid, wordpress metacafe grid, wordpress youtube grid, wordpress lightbox video gallery...
video-grid/wp-video-grid.php 92% from 13 tests
The main file in "Video Grid" v. 1.23 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("video-grid.php" instead of "wp-video-grid.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected3,325 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 652 | 77 | 1,976 |
JavaScript | 3 | 378 | 49 | 998 |
CSS | 3 | 48 | 26 | 351 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 23 | |
▷ Named functions | 22 | 95.65% |
▷ Anonymous functions | 1 | 4.35% |
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
23 PNG files occupy 0.13MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/vl-box/playico.png | 1.35KB | 1.32KB | ▼ 2.10% |
images/300x250-wp-eng.png | 34.77KB | 13.75KB | ▼ 60.46% |
images/g-suite-promo-code-4.png | 59.03KB | 17.19KB | ▼ 70.88% |
images/prev.png | 1.33KB | 1.59KB | 0.00% |
images/desc.png | 0.16KB | 0.12KB | ▼ 23.31% |