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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.55ms] Passed 4 tests
Analyzing server-side resources used by Easy Image Gallery
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.34 ▲0.06 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.70 ▼0.47 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.27 ▲0.19 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 98.75 ▲5.47 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.44 ▲2.43 |
Server storage [IO: ▲2.97MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 193 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Image Gallery
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲127 | 13.69 ▼0.57 | 9.90 ▲8.16 | 39.75 ▼6.58 |
Dashboard /wp-admin | 2,226 ▲23 | 4.89 ▼0.90 | 107.30 ▲10.02 | 41.99 ▲4.07 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.01 ▼0.04 | 39.54 ▼2.69 | 36.01 ▲1.95 |
Add New Post /wp-admin/post-new.php | 6,593 ▲5,060 | 20.47 ▼2.70 | 1,056.14 ▲370.35 | 55.23 ▼1.71 |
Media Library /wp-admin/upload.php | 1,408 ▲17 | 4.13 ▼0.06 | 108.68 ▲4.48 | 47.46 ▲0.91 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5, #6, #7 in easy-image-gallery/assets to your readme.txt
easy-image-gallery/easy-image-gallery.php Passed 13 tests
The principal PHP file in "Easy Image Gallery" v. 1.5.1 is loaded by WordPress automatically on each request
57 characters long description:
An easy to use image gallery with drag & drop re-ordering
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected28,203 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 6 | 0 | 0 | 17,476 |
JavaScript | 27 | 1,973 | 999 | 6,782 |
CSS | 13 | 288 | 64 | 2,270 |
PHP | 9 | 289 | 279 | 890 |
Markdown | 4 | 104 | 0 | 286 |
Sass | 3 | 4 | 1 | 136 |
LESS | 1 | 28 | 0 | 122 |
HTML | 1 | 17 | 0 | 104 |
PO File | 2 | 31 | 32 | 98 |
YAML | 1 | 0 | 1 | 21 |
SVG | 1 | 1 | 0 | 18 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
86 PNG files occupy 1.66MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/gutenberg-block/dist/lib/fancybox/helpers/fancybox_buttons.png | 1.05KB | 1.10KB | 0.00% |
includes/gutenberg-block/dist/lib/fancybox/fancy_nav_left.png | 1.41KB | 1.64KB | 0.00% |
includes/lib/images/prettyPhoto/facebook/contentPatternTop.png | 0.14KB | 0.11KB | ▼ 21.13% |
includes/lib/images/prettyPhoto/dark_rounded/btnNext.png | 1.38KB | 1.14KB | ▼ 17.29% |
includes/gutenberg-block/dist/lib/fancybox/fancy_loading.png | 9.96KB | 6.30KB | ▼ 36.67% |