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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼4.01ms] Passed 4 tests
Analyzing server-side resources used by Video Gallery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.14 | 40.06 ▼1.35 |
Dashboard /wp-admin | 3.43 ▲0.13 | 47.90 ▼0.47 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 49.08 ▼2.20 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 87.38 ▼12.03 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 39.02 ▲4.02 |
All Video Gallery /wp-admin/edit.php?post_type=wpsvgallery | 3.40 | 37.01 |
Add Video Gallery /wp-admin/post-new.php?post_type=wpsvgallery | 3.39 | 42.84 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Video Gallery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,982 ▲225 | 13.79 ▼0.65 | 6.08 ▲3.76 | 36.01 ▼7.32 |
Dashboard /wp-admin | 2,256 ▲68 | 5.05 ▲0.18 | 110.14 ▲11.00 | 70.03 ▲24.62 |
Posts /wp-admin/edit.php | 2,139 ▲50 | 2.11 ▲0.06 | 40.75 ▲3.03 | 45.79 ▲11.94 |
Add New Post /wp-admin/post-new.php | 1,552 ▲38 | 23.48 ▲5.89 | 647.15 ▲4.52 | 41.06 ▼7.34 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.29 ▲0.16 | 100.13 ▼0.55 | 49.95 ▲4.72 |
All Video Gallery /wp-admin/edit.php?post_type=wpsvgallery | 1,125 | 2.06 | 39.70 | 40.29 |
Add Video Gallery /wp-admin/post-new.php?post_type=wpsvgallery | 3,334 | 2.77 | 55.61 | 51.28 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: video gallery, gallery, video
wp-responsive-video-gallery/wp-responsive-video-gallery.php 92% from 13 tests
This is the main PHP file of "Video Gallery" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 178 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected2,476 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 358 | 204 | 1,505 |
PHP | 5 | 118 | 49 | 604 |
CSS | 3 | 20 | 29 | 367 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/dailyMotion.png | 4.84KB | 3.11KB | ▼ 35.78% |
assets/images/youtube.png | 3.54KB | 1.91KB | ▼ 46.01% |
assets/images/vimeo.png | 5.26KB | 2.84KB | ▼ 45.99% |