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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.23ms] Passed 4 tests
A check of server-side resources used by Hover Effects With Lightbox For WPBakery Page Builder (formely Visual Composer)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 44.16 ▼0.82 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.78 ▼5.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.54 ▼5.33 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.06 ▼16.39 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.86 ▼2.20 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Hover Effects With Lightbox For WPBakery Page Builder (formely Visual Composer)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲153 | 13.81 ▼0.57 | 10.03 ▲8.26 | 43.03 ▼0.23 |
Dashboard /wp-admin | 2,210 ▲36 | 5.65 ▲0.02 | 95.93 ▲4.84 | 46.24 ▲2.37 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 2.02 ▼0.00 | 34.32 ▼6.44 | 37.68 ▲2.41 |
Add New Post /wp-admin/post-new.php | 1,557 ▲10 | 23.04 ▼0.19 | 610.77 ▼30.69 | 63.42 ▲8.16 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.22 ▼0.03 | 101.72 ▼17.28 | 43.12 ▼6.79 |
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: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 20× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style10.php
- > /wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style4.php
- > /wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style1.php
- > /wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style12.php
- > /wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style5.php
- > /wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style9.php
- > /wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style13.php
- > /wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style7.php
- > /wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style15.php
- > /wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style3.php
- 138× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: ihelb_caption_url in wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style9.php on line 23
- > PHP Notice
Undefined variable: ihelb_heading in wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style14.php on line 9
- > PHP Notice
Undefined variable: ihelb_caption_url in wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style19.php on line 24
- > PHP Notice
Undefined variable: ihelb_enable_lighbox in wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style13.php on line 20
- > PHP Notice
Undefined variable: ihelb_caption_url in wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style12.php on line 12
- > PHP Notice
Undefined variable: ihelb_heading in wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style9.php on line 10
- > PHP Notice
Undefined variable: ihelb_short_description in wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style19.php on line 10
- > PHP Notice
Undefined variable: ihelb_short_description in wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style7.php on line 18
- > PHP Notice
Undefined variable: content in wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style10.php on line 18
- > PHP Notice
Undefined variable: ihelb_heading in wp-content/plugins/hover-effects-with-lightbox-vc-extension/templates/style17.php on line 10
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 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
7 plugin tags: lightbox, wordpress plugin, wpbakery pagebuilder, imge hover effects, best plugin...
hover-effects-with-lightbox-vc-extension/index.php 85% from 13 tests
The main PHP file in "Hover Effects With Lightbox For WPBakery Page Builder (formely Visual Composer)" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("hover-effects-with-lightbox-vc-extension.php" instead of "index.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected5,131 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 24 | 13 | 10 | 3,748 |
PHP | 23 | 35 | 26 | 697 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 1 | 1 | 3 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There are no PNG files in this plugin