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.30MB] [CPU: ▲2.88ms] Passed 4 tests
Analyzing server-side resources used by Gallery with thumbnail slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 37.58 ▼2.97 |
Dashboard /wp-admin | 3.61 ▲0.31 | 49.31 ▲1.11 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 54.47 ▲11.34 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 116.12 ▲15.36 |
Media Library /wp-admin/upload.php | 3.51 ▲0.29 | 37.78 ▲2.03 |
Gallery /wp-admin/edit.php?post_type=gwts-gallery | 3.58 | 43.38 |
Slider Settings /wp-admin/edit.php?post_type=gwts-gallery&page=gwts-slider-settings | 3.52 | 37.79 |
Gallery Options /wp-admin/edit.php?post_type=gwts-gallery&page=gwts-opts | 3.51 | 36.78 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Gallery with thumbnail slider: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,116 ▲370 | 15.22 ▲0.84 | 6.47 ▲4.80 | 40.03 ▼3.11 |
Dashboard /wp-admin | 2,385 ▲194 | 6.45 ▲0.55 | 136.14 ▲22.04 | 43.04 ▼3.24 |
Posts /wp-admin/edit.php | 2,288 ▲196 | 3.31 ▲1.30 | 55.56 ▲17.95 | 34.00 ▲0.77 |
Add New Post /wp-admin/post-new.php | 1,700 ▲167 | 22.09 ▼0.88 | 595.80 ▼88.24 | 27.72 ▼25.37 |
Media Library /wp-admin/upload.php | 1,430 ▲42 | 4.27 ▲0.03 | 79.36 ▼26.10 | 45.64 ▲3.80 |
Gallery /wp-admin/edit.php?post_type=gwts-gallery | 1,266 | 3.33 | 53.49 | 32.01 |
Slider Settings /wp-admin/edit.php?post_type=gwts-gallery&page=gwts-slider-settings | 1,343 | 3.03 | 38.95 | 29.31 |
Gallery Options /wp-admin/edit.php?post_type=gwts-gallery&page=gwts-opts | 1,073 | 3.16 | 36.77 | 24.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
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 | 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
Congratulations! This plugin passed the SRP 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 79% from 29 tests
readme.txt 75% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Requires at least: Invalid version format
- Screenshots: Screenshot #12 (Enable vertical gallery and settings) image missing
- Screenshots: Add a description for screenshot #14 in gallery-with-thumbnail-slider/assets to your readme.txt
- Requires php: Invalid version format
gallery-with-thumbnail-slider/gwts-gallery.php 85% from 13 tests
The main file in "Gallery with thumbnail slider" v. 6.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("gallery-with-thumbnail-slider.php" instead of "gwts-gallery.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 294 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin5,103 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 315 | 198 | 2,141 |
CSS | 4 | 86 | 62 | 1,549 |
PHP | 8 | 147 | 45 | 1,366 |
SVG | 1 | 0 | 0 | 47 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
6 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/video-play.png | 4.42KB | 1.05KB | ▼ 76.27% |
includes/img/youtube-play.png | 5.06KB | 2.37KB | ▼ 53.04% |
includes/images/controls.png | 2.62KB | 0.95KB | ▼ 63.62% |
includes/images/thumbnail.png | 68.32KB | 30.79KB | ▼ 54.93% |
includes/images/controls-white.png | 2.19KB | 0.95KB | ▼ 56.49% |