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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.18ms] Passed 4 tests
An overview of server-side resources used by Image Video Gallery
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 44.08 ▲0.62 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.61 ▼0.00 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.86 ▲4.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.55 ▼25.93 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.41 ▲0.60 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Image Video Gallery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,962 ▲191 | 13.64 ▼0.72 | 11.76 ▲9.40 | 44.41 ▼12.79 |
Dashboard /wp-admin | 2,203 ▲15 | 5.91 ▲1.04 | 110.48 ▲0.19 | 43.06 ▲6.29 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 1.99 ▼0.05 | 40.66 ▼2.33 | 31.66 ▼5.62 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 22.81 ▲5.31 | 645.88 ▲0.05 | 53.57 ▲2.88 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.20 ▼0.16 | 99.78 ▼0.51 | 43.54 ▲0.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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 SRP test was a success
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 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== image-video-gallery ===
) - Tested up to: Version format is invalid
image-video-gallery/image-video-gallery.php Passed 13 tests
The main PHP file in "Image Video Gallery" ver. 1.11.17 adds more information about the plugin and also serves as the entry point for this plugin
40 characters long description:
Add image and video gallery meta fields.
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 detected760 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 45 | 46 | 302 |
CSS | 4 | 32 | 4 | 257 |
JavaScript | 3 | 27 | 35 | 184 |
Markdown | 1 | 4 | 0 | 17 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 12.50% |
Functions | 5 | |
▷ Named functions | 5 | 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
PNG files should be compressed to save space and minimize bandwidth usage
7 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/controls.png | 1.59KB | 1.67KB | 0.00% |
assets/css/images/border.png | 0.07KB | 0.10KB | 0.00% |
assets/css/images/close.png | 0.27KB | 0.29KB | 0.00% |
assets/css/images/prev.png | 1.33KB | 1.59KB | 0.00% |
assets/css/images/overlay.png | 0.11KB | 0.15KB | 0.00% |