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.07MB] [CPU: ▼2.19ms] Passed 4 tests
An overview of server-side resources used by Gutena Video Lightbox
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.08 | 42.70 ▼3.59 |
Dashboard /wp-admin | 3.40 ▲0.06 | 49.79 ▼2.52 |
Posts /wp-admin/edit.php | 3.52 ▲0.12 | 49.71 ▼0.79 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.07 | 97.35 ▼1.84 |
Media Library /wp-admin/upload.php | 3.33 ▲0.06 | 43.55 ▲3.85 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Gutena Video Lightbox: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.40 ▲0.06 | 3.27 ▲1.62 | 42.94 ▲1.01 |
Dashboard /wp-admin | 2,195 ▲15 | 5.56 ▼0.09 | 85.54 ▼10.57 | 36.26 ▼3.64 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▲0.03 | 39.36 ▲0.97 | 33.66 ▼4.42 |
Add New Post /wp-admin/post-new.php | 6,377 ▲4,849 | 27.94 ▲4.77 | 844.70 ▲177.85 | 40.07 ▼15.60 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.29 ▲0.09 | 98.01 ▼10.88 | 42.17 ▼5.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Congratulations! This plugin passed the SRP test
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
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: lightbox, popup, vimeo, block, youtube
gutena-lightbox/gutena-lightbox.php Passed 13 tests
"Gutena Video Lightbox" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
21 characters long description:
Gutena Video Lightbox
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 detected336 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 43 | 121 | 171 |
JSON | 2 | 0 | 0 | 138 |
SVG | 5 | 0 | 0 | 20 |
JavaScript | 4 | 0 | 0 | 4 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 10 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 16.67% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/gutena/gutena-ecosys-onboard/assets/cta/bg.png | 6.31KB | 3.12KB | ▼ 50.59% |