Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.37MB] [CPU: ▲2.66ms] Passed 4 tests
Analyzing server-side resources used by Meta Slider and Carousel with Lightbox
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 44.33 ▲3.66 |
Dashboard /wp-admin | 3.66 ▲0.36 | 47.49 ▲1.06 |
Posts /wp-admin/edit.php | 3.80 ▲0.44 | 54.04 ▲5.66 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.40 | 102.06 ▲6.55 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 35.04 ▲0.25 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 63 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
wpos_anylc_redirect |
widget_recent-comments |
wpos_anylc_site_uid |
Browser metrics Passed 4 tests
A check of browser resources used by Meta Slider and Carousel with Lightbox
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,548 ▼1,214 | 12.82 ▼1.58 | 1.31 ▼0.48 | 16.46 ▼28.63 |
Dashboard /wp-admin | 2,224 ▲44 | 5.62 ▼0.03 | 105.93 ▲4.38 | 53.66 ▲10.24 |
Posts /wp-admin/edit.php | 2,317 ▲214 | 3.67 ▲1.71 | 72.35 ▲30.83 | 76.37 ▲42.72 |
Add New Post /wp-admin/post-new.php | 6,321 ▲4,795 | 26.21 ▲2.94 | 906.10 ▲267.79 | 37.68 ▼13.67 |
Media Library /wp-admin/upload.php | 1,422 ▲19 | 4.14 ▲0.01 | 82.19 ▼16.79 | 36.76 ▼9.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- wpos_anylc_site_uid
- wpos_anylc_redirect
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% 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
9 plugin tags: gallery slider, gallery, frontend gallery slider, meta gallery slider, image carousel...
meta-slider-and-carousel-with-lightbox/frontend-gallery-slider.php 85% from 13 tests
Analyzing the main PHP file in "Meta Slider and Carousel with Lightbox" version 2.0
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 152 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("meta-slider-and-carousel-with-lightbox.php" instead of "frontend-gallery-slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin3,842 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 676 | 828 | 2,761 |
CSS | 6 | 66 | 17 | 554 |
JavaScript | 7 | 150 | 90 | 526 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 32.20 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 39 | |
▷ Static methods | 1 | 2.56% |
▷ Public methods | 37 | 94.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.13% |
Functions | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.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
17 PNG files occupy 0.47MB with 0.34MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/page-builder-icon.png | 40.77KB | 11.61KB | ▼ 71.53% |
assets/images/popup-icon/slider.png | 5.26KB | 2.46KB | ▼ 53.19% |
assets/images/arrow-right.png | 2.91KB | 0.18KB | ▼ 93.93% |
assets/images/popup-icon/slider-carousel.png | 5.07KB | 2.69KB | ▼ 46.98% |
assets/images/arrow-left.png | 2.94KB | 0.17KB | ▼ 94.18% |