Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.40MB] [CPU: ▼5.68ms] Passed 4 tests
This is a short check of server-side resources used by Thumbnail Slider With Lightbox
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 38.30 ▼6.35 |
Dashboard /wp-admin | 3.70 ▲0.40 | 51.66 ▼3.37 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 47.92 ▼0.71 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.40 | 86.45 ▼12.30 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 37.93 ▲1.48 |
Manage Images /wp-admin/admin.php?page=responsive_thumbnail_slider_with_lightbox_image_management | 3.62 | 42.91 |
Slider Settings /wp-admin/admin.php?page=responsive_thumbnail_slider_with_lightbox | 3.62 | 38.64 |
Preview Slider /wp-admin/admin.php?page=responsive_thumbnail_slider_with_lightbox_preview | 3.63 | 40.06 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 37 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_responsive_slider_plus_responsive_lightbox |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
responsive_thumbnail_slider_plus_lightbox_messages |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
responsive_thumbnail_slider_plus_lightbox_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Thumbnail Slider With Lightbox
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲85 | 14.47 ▲0.09 | 2.01 ▼0.05 | 42.42 ▼3.52 |
Dashboard /wp-admin | 2,237 ▲49 | 5.84 ▲0.90 | 104.07 ▼11.34 | 42.02 ▼0.97 |
Posts /wp-admin/edit.php | 2,120 ▲34 | 2.03 ▲0.04 | 33.65 ▼2.14 | 35.56 ▲2.55 |
Add New Post /wp-admin/post-new.php | 1,567 ▲47 | 18.43 ▼4.59 | 645.02 ▼22.17 | 58.99 ▲1.30 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 4.21 ▲0.04 | 95.37 ▼20.93 | 41.84 ▼8.83 |
Manage Images /wp-admin/admin.php?page=responsive_thumbnail_slider_with_lightbox_image_management | 1,342 | 4.34 | 90.35 | 84.18 |
Slider Settings /wp-admin/admin.php?page=responsive_thumbnail_slider_with_lightbox | 1,739 | 5.02 | 116.50 | 72.30 |
Preview Slider /wp-admin/admin.php?page=responsive_thumbnail_slider_with_lightbox_preview | 1,152 | 3.69 | 49.16 | 31.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_responsive_slider_plus_responsive_lightbox
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- can_compress_scripts
- responsive_thumbnail_slider_plus_lightbox_settings
- responsive_thumbnail_slider_plus_lightbox_messages
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-responsive-slider-with-lightbox/wp-responsive-slider-with-lightbox.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
9 plugin tags: wordpress thumbnail slider lightbox, wordpress responsive lightbox gallery, wordpress image lightbox, wordpress responsive lightbox slideshow, wordpress responsive lightbox scroller...
wp-responsive-slider-with-lightbox/wp-responsive-slider-with-lightbox.php Passed 13 tests
"Thumbnail Slider With Lightbox" version 1.0.20's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
119 characters long description:
This is beautiful responsive thumbnail image slider with responsive lightbox.Add any number of images from admin panel.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin6,074 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 633 | 685 | 3,102 |
PHP | 1 | 808 | 78 | 2,295 |
CSS | 5 | 97 | 67 | 677 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 23 | |
▷ Named functions | 22 | 95.65% |
▷ Anonymous functions | 1 | 4.35% |
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
18 compressed PNG files occupy 0.14MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/next.png | 1.32KB | 1.58KB | 0.00% |
images/controls_fnc.png | 1.33KB | 1.42KB | 0.00% |
images/backgroud.png | 0.07KB | 0.08KB | 0.00% |
images/close-w.png | 0.27KB | 0.29KB | 0.00% |
images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |