Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.92MB] [CPU: ▲4.40ms] Passed 4 tests
Server-side resources used by Photo Gallery Slideshow & Masonry Tiled Gallery
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.38 ▲0.91 | 46.98 ▲8.98 |
Dashboard /wp-admin | 4.23 ▲0.93 | 50.10 ▼2.10 |
Posts /wp-admin/edit.php | 4.35 ▲0.99 | 56.97 ▲7.13 |
Add New Post /wp-admin/post-new.php | 6.82 ▲0.92 | 100.21 ▲7.23 |
Media Library /wp-admin/upload.php | 4.15 ▲0.92 | 39.73 ▲5.32 |
Slideshow Settings /wp-admin/admin.php?page=responsive_photo_gallery_slider | 4.12 | 37.79 |
Masonry Gallery Media /wp-admin/admin.php?page=responsive_justified_gallery_with_lightbox_media_management | 4.16 | 42.42 |
Slideshow Preview /wp-admin/admin.php?page=responsive_photo_galleryrsp_responsive_photo_gallery_preview_slider_preview | 4.12 | 38.73 |
Masonry Gallery Settings /wp-admin/admin.php?page=responsive_justified_gallery_with_lightbox | 4.15 | 41.22 |
Masonry Gallery Preview /wp-admin/admin.php?page=responsive_justified_gallery_with_lightbox_media_preview | 4.16 | 42.80 |
Slideshow Images /wp-admin/admin.php?page=responsive_photo_gallery_image_management | 4.16 | 41.84 |
Server storage [IO: ▲1.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 63 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_gv_responsive_slider |
wp_rjg_gallery |
New WordPress options |
---|
widget_theysaidso_widget |
rjg_settings |
my_responsive_photo_gallery_slider_settings_messages |
my_responsive_photo_gallery_slider_settings |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Photo Gallery Slideshow & Masonry Tiled Gallery
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲46 | 14.34 ▼0.03 | 1.58 ▼0.67 | 38.02 ▼4.32 |
Dashboard /wp-admin | 2,241 ▲63 | 5.56 ▼0.16 | 92.29 ▼5.13 | 42.89 ▼2.13 |
Posts /wp-admin/edit.php | 2,143 ▲40 | 2.14 ▲0.11 | 40.43 ▼0.74 | 35.75 ▼3.61 |
Add New Post /wp-admin/post-new.php | 1,565 ▲28 | 23.11 ▲5.00 | 580.47 ▼19.61 | 65.42 ▲1.72 |
Media Library /wp-admin/upload.php | 1,440 ▲40 | 4.21 ▲0.02 | 94.11 ▼14.17 | 39.72 ▼2.65 |
Slideshow Settings /wp-admin/admin.php?page=responsive_photo_gallery_slider | 1,603 | 3.02 | 68.48 | 30.05 |
Masonry Gallery Media /wp-admin/admin.php?page=responsive_justified_gallery_with_lightbox_media_management | 1,386 | 4.56 | 83.00 | 67.93 |
Slideshow Preview /wp-admin/admin.php?page=responsive_photo_galleryrsp_responsive_photo_gallery_preview_slider_preview | 983 | 2.10 | 37.47 | 29.10 |
Masonry Gallery Settings /wp-admin/admin.php?page=responsive_justified_gallery_with_lightbox | 1,518 | 4.95 | 74.01 | 60.43 |
Masonry Gallery Preview /wp-admin/admin.php?page=responsive_justified_gallery_with_lightbox_media_preview | 1,201 | 4.48 | 63.74 | 55.09 |
Slideshow Images /wp-admin/admin.php?page=responsive_photo_gallery_image_management | 1,377 | 4.38 | 61.20 | 72.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables were found after uninstall: 2 tables
- wp_gv_responsive_slider
- wp_rjg_gallery
- This plugin does not fully uninstall, leaving 9 options in the database
- theysaidso_admin_options
- my_responsive_photo_gallery_slider_settings
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- my_responsive_photo_gallery_slider_settings_messages
- rjg_settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=responsive_photo_galleryrsp_responsive_photo_gallery_preview_slider_preview
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'attrs')" "TypeError: Cannot read properties of undefined (reading 'attrs')\n at Object.updateOverlay (/wp-content/plugins/wp-responsive-photo-gallery/js/jquery.gview-3.0-dev-responsive.js?ver=6.3.1:811:40)\n at Object.init (/wp-content/plugins/wp-responsive-photo-gallery/js/jquery.gview-3.0-dev-responsive.js?ver=6.3.1:1279:18)\n at HTMLUListElement.\u003Canonymous> (/wp-content/plugins/wp-responsive-photo-gallery/js/jquery.gview-3.0-dev-responsive.js?ver=6.3.1:1313:25)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:1594)\n at $.fn.galleryView (/wp-content/plugins/wp-responsive-photo-gallery/js/jquery.gview-3.0-dev-responsive.js?ver=6.3.1:1311:25)\n at HTMLDivElement.\u003Canonymous> (/wp-admin/admin.php?page=responsive_photo_galleryrsp_responsive_photo_gallery_preview_slider_preview:188:75)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:1594)\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=responsive_photo_galleryrsp_responsive_photo_gallery_preview_slider_preview:187:65)" undefined
- > GET request to /wp-admin/admin.php?page=responsive_photo_galleryrsp_responsive_photo_gallery_preview_slider_preview
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'attrs')
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: wordpress responsive gallery, wp responsive photo slideshow, wordpress responsive photo slideshow, wordpress responsive photo gallery, wordpress responsive photo album slideshow...
wp-responsive-photo-gallery/wp-responsive-photo-gallery.php 92% from 13 tests
"Photo Gallery Slideshow & Masonry Tiled Gallery" version 1.0.15's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 209 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin9,303 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 1,752 | 228 | 5,189 |
JavaScript | 6 | 834 | 359 | 3,572 |
CSS | 4 | 103 | 60 | 542 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 30.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 70.00% |
Functions | 38 | |
▷ Named functions | 36 | 94.74% |
▷ Anonymous functions | 2 | 5.26% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
38 PNG files occupy 0.27MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/themes/dark/play.png | 0.36KB | 0.21KB | ▼ 41.37% |
images/zoom.png | 0.78KB | 0.87KB | 0.00% |
images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
css/themes/light/pause-big.png | 0.35KB | 0.27KB | ▼ 21.19% |
css/themes/light/info.png | 0.33KB | 0.21KB | ▼ 35.99% |