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
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.77ms] Passed 4 tests
Analyzing server-side resources used by MetaSlider Lightbox
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.78 ▼7.23 |
Dashboard /wp-admin | 3.38 ▲0.07 | 52.60 ▲1.13 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 58.56 ▲8.82 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 93.67 ▼4.01 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.08 ▼0.97 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by MetaSlider Lightbox
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.38 ▲0.18 | 1.68 ▲0.07 | 41.30 ▼1.33 |
Dashboard /wp-admin | 2,214 ▲40 | 5.60 ▼0.01 | 85.50 ▼6.07 | 41.37 ▲0.64 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.03 ▲0.03 | 41.05 ▲2.14 | 37.35 ▲3.62 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.27 ▲0.25 | 678.27 ▼29.95 | 58.66 ▼11.47 |
Media Library /wp-admin/upload.php | 1,413 ▲16 | 4.26 ▲0.12 | 99.60 ▼5.36 | 49.10 ▲7.55 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ml-slider-lightbox/ml-slider-lightbox.php
- > /wp-content/plugins/ml-slider-lightbox/class-ml-slider-lightbox.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 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: lightbox, wordpress slideshow lightbox, slideshow lightbox, slideshow, metaslider lightbox...
ml-slider-lightbox/ml-slider-lightbox.php Passed 13 tests
This is the main PHP file of "MetaSlider Lightbox" version 1.13.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
133 characters long description:
Adds lightbox plugin integration to MetaSlider. Requires MetaSlider and one compatible lightbox plugin to be installed and activated.
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
Everything looks great! No dangerous files found in this plugin957 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 179 | 498 | 900 |
JSON | 2 | 0 | 0 | 57 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 26.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 20 | 37.04% |
▷ Public methods | 51 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.56% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin