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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼1.21ms] Passed 4 tests
An overview of server-side resources used by Photo gallery lightbox – 📱 mobile friendly gallery plugin –– Story Show Gallery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 42.42 ▼0.11 |
Dashboard /wp-admin | 3.49 ▲0.19 | 51.88 ▼3.98 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 50.50 ▲2.46 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 95.74 ▼3.19 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 38.25 ▲4.14 |
Story Show Gallery /wp-admin/options-general.php?page=story-show-gallery | 3.39 | 41.67 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Photo gallery lightbox – 📱 mobile friendly gallery plugin –– Story Show Gallery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲120 | 13.54 ▼0.80 | 10.82 ▲9.17 | 39.30 ▼7.78 |
Dashboard /wp-admin | 2,196 ▲25 | 5.50 ▼0.18 | 86.79 ▼8.19 | 40.80 ▼2.65 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▼0.05 | 36.51 ▼1.69 | 34.41 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.66 ▲0.31 | 661.99 ▲15.95 | 56.24 ▼6.70 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.19 ▼0.03 | 102.54 ▼1.55 | 48.18 ▼1.06 |
Story Show Gallery /wp-admin/options-general.php?page=story-show-gallery | 1,643 | 1.68 | 24.68 | 74.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
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 50% from 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
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/story-show-gallery/story-show-gallery.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: wordpress gallery plugin, lightbox gallery, lightbox, responsive gallery, image gallery...
story-show-gallery/story-show-gallery.php Passed 13 tests
Analyzing the main PHP file in "Photo gallery lightbox – 📱 mobile friendly gallery plugin –– Story Show Gallery" version 1.10.7
104 characters long description:
Vertical photo gallery with optimally placed captions, full screen lightbox, minimalist, no ugly arrows.
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
Good job! No executable or dangerous file extensions detected1,242 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 130 | 17 | 864 |
CSS | 3 | 43 | 10 | 199 |
Markdown | 1 | 52 | 0 | 105 |
JavaScript | 2 | 5 | 3 | 74 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/link-css-class.png | 0.97KB | 0.92KB | ▼ 4.63% |
img/donate.png | 7.78KB | 3.86KB | ▼ 50.40% |
img/link-to-media-file.png | 0.52KB | 0.49KB | ▼ 6.34% |