Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼6.54ms] Passed 4 tests
A check of server-side resources used by Lightbox slider - Responsive Lightbox Gallery
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 36.31 ▲1.22 |
Dashboard /wp-admin | 3.53 ▲0.18 | 47.99 ▼12.97 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 46.33 ▲0.35 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 80.21 ▼14.75 |
Media Library /wp-admin/upload.php | 3.46 ▲0.22 | 36.45 ▲5.06 |
Help and Support /wp-admin/edit.php?post_type=slgf_slider&page=SLGF-help-page | 3.45 | 30.10 |
Add Lightbox Gallery /wp-admin/post-new.php?post_type=slgf_slider | 3.76 | 48.72 |
All Galleries /wp-admin/edit.php?post_type=slgf_slider | 3.50 | 34.07 |
Server storage [IO: ▲5.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Lightbox slider - Responsive Lightbox Gallery
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.35 ▲0.17 | 1.61 ▲0.00 | 40.40 ▲2.22 |
Dashboard /wp-admin | 2,240 ▲60 | 5.61 ▲0.00 | 83.88 ▼0.99 | 37.68 ▼7.03 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.04 ▲0.04 | 33.61 ▼1.34 | 34.39 ▼4.46 |
Add New Post /wp-admin/post-new.php | 1,563 ▲35 | 22.87 ▼0.28 | 643.16 ▼22.91 | 52.00 ▼1.37 |
Media Library /wp-admin/upload.php | 1,439 ▲42 | 4.23 ▲0.04 | 96.70 ▼4.26 | 40.89 ▼1.20 |
Help and Support /wp-admin/edit.php?post_type=slgf_slider&page=SLGF-help-page | 903 | 2.01 | 21.14 | 41.03 |
Add Lightbox Gallery /wp-admin/post-new.php?post_type=slgf_slider | 3,157 | 4.96 | 123.94 | 53.65 |
All Galleries /wp-admin/edit.php?post_type=slgf_slider | 1,122 | 1.93 | 31.02 | 30.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/post-new.php?post_type=slgf_slider
- > Javascript (severe) in unknown
/wp-admin/post-new.php?post_type=slgf_slider 2285:0 Uncaught TypeError: $ is not a function
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: lightbox, gallery builder, responsive gallery, masonry, image gallery...
simple-lightbox-gallery/simple-lightbox-gallery.php Passed 13 tests
The entry point to "Lightbox slider - Responsive Lightbox Gallery" version 1.9.7 is a PHP file that has certain tags in its header comment area
126 characters long description:
Lightbox slider plugin is allow users to view larger versions of images, simple slide shows and Gallery view with grid layout.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected39,138 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 1 | 5,973 | 17,252 | 13,300 |
JavaScript | 14 | 1,138 | 1,125 | 10,698 |
SVG | 3 | 0 | 12 | 8,954 |
CSS | 14 | 881 | 163 | 4,832 |
PHP | 4 | 140 | 121 | 1,354 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
5 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lightbox/lightgallery/images/next.png | 1.32KB | 1.58KB | 0.00% |
images/Photos-icon.png | 1.56KB | 1.30KB | ▼ 16.67% |
lightbox/lightgallery/images/close.png | 0.27KB | 0.29KB | 0.00% |
lightbox/lightgallery/images/prev.png | 1.33KB | 1.59KB | 0.00% |
images/Close-icon-new.png | 6.71KB | 7.58KB | 0.00% |