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.04MB] [CPU: ▼6.53ms] Passed 4 tests
A check of server-side resources used by Easy Dexter Lightbox
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 24.52 ▼17.62 |
Dashboard /wp-admin | 3.36 ▲0.05 | 45.12 ▼4.81 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 45.91 ▼1.69 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.93 ▲1.44 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.04 ▼1.99 |
Dexter Settings /wp-admin/options-general.php?page=dexter_settings | 3.25 | 31.24 |
Server storage [IO: ▲0.11MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options |
---|
dexter_lightbox_settings |
can_compress_scripts |
dexter_theme_settings |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Easy Dexter Lightbox: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,002 ▲267 | 13.69 ▼0.69 | 9.04 ▲7.29 | 39.95 ▼7.35 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼1.04 | 110.57 ▼7.98 | 41.49 ▼4.95 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.03 | 37.92 ▼0.46 | 34.81 ▲2.50 |
Add New Post /wp-admin/post-new.php | 1,549 ▲16 | 18.27 ▼4.95 | 600.82 ▼21.99 | 66.97 ▲13.53 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.34 ▲0.11 | 93.58 ▼1.30 | 40.89 ▼2.52 |
Dexter Settings /wp-admin/options-general.php?page=dexter_settings | 1,036 | 1.79 | 32.62 | 26.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-posts
- db_upgraded
- dexter_lightbox_settings
- can_compress_scripts
- dexter_theme_settings
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 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)
Even though everything seems fine, this is not 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 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid URI ("N/A")
- Screenshots: Please add an image for screenshot #1 (None)
easy-dexter-lightbox/plugin.php 92% from 13 tests
"Easy Dexter Lightbox" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("easy-dexter-lightbox.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,822 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 73 | 158 | 762 |
PHP | 2 | 145 | 202 | 564 |
CSS | 3 | 83 | 0 | 496 |
PHP code Passed 2 tests
An short overview of 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.48 |
Average class complexity | 38.50 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin