Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.86ms] Passed 4 tests
A check of server-side resources used by RG Responsive Gallery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 35.99 ▼7.83 |
Dashboard /wp-admin | 3.38 ▲0.07 | 50.81 ▼0.67 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 58.25 ▲13.04 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 82.53 ▼6.85 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.12 ▼0.08 |
Settings /wp-admin/edit.php?post_type=rrg_gallery&page=rg-responsive-gallery-settings | 3.28 | 36.90 |
Sliders /wp-admin/edit-tags.php?taxonomy=rrg_gallery_taxonomy&post_type=rrg_gallery | 3.30 | 45.83 |
All Slides /wp-admin/edit.php?post_type=rrg_gallery | 3.35 | 40.37 |
Add New slide /wp-admin/post-new.php?post_type=rrg_gallery | 3.37 | 49.85 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
RG Responsive Gallery: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,976 ▲190 | 14.41 ▼0.18 | 1.58 ▼0.37 | 39.77 ▼5.10 |
Dashboard /wp-admin | 2,379 ▲202 | 6.21 ▲0.63 | 116.89 ▲14.29 | 37.31 ▼7.40 |
Posts /wp-admin/edit.php | 2,307 ▲207 | 3.38 ▲1.39 | 57.47 ▲20.43 | 36.25 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,567 ▲32 | 23.23 ▲4.87 | 658.25 ▲44.71 | 36.59 ▼32.77 |
Media Library /wp-admin/upload.php | 1,447 ▲50 | 4.16 ▲0.03 | 81.90 ▼15.53 | 41.25 ▼2.25 |
Settings /wp-admin/edit.php?post_type=rrg_gallery&page=rg-responsive-gallery-settings | 1,311 | 3.04 | 40.14 | 79.63 |
Sliders /wp-admin/edit-tags.php?taxonomy=rrg_gallery_taxonomy&post_type=rrg_gallery | 1,495 | 3.28 | 38.99 | 29.60 |
All Slides /wp-admin/edit.php?post_type=rrg_gallery | 1,323 | 3.39 | 43.36 | 26.69 |
Add New slide /wp-admin/post-new.php?post_type=rrg_gallery | 1,830 | 3.67 | 64.89 | 33.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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rg-responsive-gallery/lib/activate.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: image slider, image gallery, featured image sldier, responsive gallery, featured image...
rg-responsive-gallery/rg-responsive-gallery.php 92% from 13 tests
The main PHP file in "RG Responsive Gallery" ver. 1.6 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 165 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
There were no executable files found in this plugin764 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 76 | 117 | 699 |
CSS | 2 | 4 | 5 | 44 |
JavaScript | 2 | 0 | 12 | 21 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 31 | |
▷ Named functions | 30 | 96.77% |
▷ Anonymous functions | 1 | 3.23% |
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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
images/box-bg.png | 0.91KB | 0.09KB | ▼ 89.63% |