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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▲0.21ms] Passed 4 tests
A check of server-side resources used by VenoBox Lightbox
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.16 | 40.24 ▼1.37 |
Dashboard /wp-admin | 3.50 ▲0.17 | 48.81 ▲0.13 |
Posts /wp-admin/edit.php | 3.62 ▲0.23 | 48.34 ▲5.54 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.19 | 90.26 ▼0.69 |
Media Library /wp-admin/upload.php | 3.43 ▲0.17 | 38.05 ▲2.77 |
VenoBox Lightbox /wp-admin/options-general.php?page=venobox | 3.42 | 34.03 |
Server storage [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: no files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for VenoBox Lightbox
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲171 | 13.61 ▼0.77 | 6.20 ▲4.63 | 43.14 ▲3.58 |
Dashboard /wp-admin | 2,213 ▲22 | 4.83 ▼1.07 | 107.82 ▲8.86 | 40.64 ▼1.44 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.06 | 38.70 ▲3.83 | 35.80 ▲4.80 |
Add New Post /wp-admin/post-new.php | 6,236 ▲4,708 | 26.25 ▲7.95 | 834.01 ▲152.99 | 58.36 ▼3.84 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.17 ▼0.03 | 97.90 ▲2.87 | 42.65 ▼1.16 |
VenoBox Lightbox /wp-admin/options-general.php?page=venobox | 1,813 | 3.21 | 65.58 | 33.23 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/venobox-lightbox/inc/options-page-wrapper.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/venobox-lightbox/inc/class-venobox-lightbox.php:56
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please describe screenshot #5 in venobox-lightbox/assets to your readme.txt
- Donate link: Please fix this invalid URI: ""
venobox-lightbox/venobox.php 92% from 13 tests
The entry point to "VenoBox Lightbox" version 2.0.8 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("venobox-lightbox.php" instead of "venobox.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
Everything looks great! No dangerous files found in this plugin2,062 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 130 | 95 | 794 |
PHP | 4 | 73 | 193 | 732 |
PO File | 3 | 120 | 132 | 305 |
CSS | 2 | 6 | 14 | 231 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 36 | 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 | 1 | |
▷ Global constants | 1 | 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
PNG images were not found in this plugin