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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼9.77ms] Passed 4 tests
A check of server-side resources used by Image Gallery - Responsive Photo Gallery
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▼0.04 | 31.24 ▼8.67 |
Dashboard /wp-admin | 3.48 ▲0.18 | 46.71 ▼3.88 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 47.51 ▼1.06 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 74.37 ▼25.45 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.41 ▲0.63 |
All Galleries /wp-admin/admin.php?page=arpg-settings | 3.33 | 38.32 |
Awesome Gallery /wp-admin/admin.php?page=awesome-responsive-photo-gallery/inc/arpg-admin.php | 3.33 | 33.08 |
Server storage [IO: ▲2.66MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 60 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Image Gallery - Responsive Photo Gallery: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,985 ▲199 | 14.77 ▲0.17 | 1.63 ▼0.10 | 39.19 ▼0.46 |
Dashboard /wp-admin | 2,394 ▲220 | 6.43 ▲0.86 | 109.97 ▲26.47 | 40.21 ▼5.29 |
Posts /wp-admin/edit.php | 2,320 ▲220 | 3.60 ▲1.66 | 53.06 ▲18.44 | 32.26 ▼4.64 |
Add New Post /wp-admin/post-new.php | 1,575 ▲49 | 21.10 ▼2.07 | 664.18 ▼3.59 | 30.45 ▼27.96 |
Media Library /wp-admin/upload.php | 1,454 ▲54 | 4.47 ▲0.32 | 94.67 ▼4.25 | 48.18 ▲2.36 |
All Galleries /wp-admin/admin.php?page=arpg-settings | 1,103 | 3.29 | 48.96 | 36.67 |
Awesome Gallery /wp-admin/admin.php?page=awesome-responsive-photo-gallery/inc/arpg-admin.php | 1,103 | 3.32 | 39.09 | 31.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Thumbnail View), #2 (Lightbox View for lightGallery), #3 (Lightbox View for Lightcase), #4 (Lightbox View for jGallery), #5 (Gallery Settings in Edit Gallery), #6 (Gallery Lists), #7 (Gallery Settings)
- Tags: You are using too many tags: 12 tag instead of maximum 10
awesome-responsive-photo-gallery/awesome-gallery.php 77% from 13 tests
The entry point to "Image Gallery - Responsive Photo Gallery" version 1.0.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("awesome-responsive-photo-gallery.php" instead of "awesome-gallery.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin5,446 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 12 | 3,026 |
PHP | 10 | 113 | 223 | 1,642 |
CSS | 6 | 9 | 67 | 482 |
PO File | 1 | 118 | 167 | 290 |
JavaScript | 6 | 0 | 23 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 7.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.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 | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 3 | 60.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 40.00% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
8 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-7.png | 10.97KB | 10.08KB | ▼ 8.14% |
screenshot-6.png | 5.16KB | 4.34KB | ▼ 15.84% |
assets/images/arpg-buttons.png | 5.83KB | 2.83KB | ▼ 51.40% |
assets/images/zoom.png | 1.63KB | 0.96KB | ▼ 41.07% |
assets/images/vimeo-play.png | 5.30KB | 1.56KB | ▼ 70.65% |