Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼8.04ms] Passed 4 tests
An overview of server-side resources used by Image Hover Effects for WPBakery Page Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 41.46 ▼5.61 |
Dashboard /wp-admin | 3.38 ▲0.03 | 47.56 ▼16.77 |
Posts /wp-admin/edit.php | 3.44 ▲0.07 | 51.80 ▼1.72 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 89.67 ▼8.06 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 37.23 ▲1.05 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Image Hover Effects for WPBakery Page Builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 14.35 ▼0.00 | 1.85 ▼0.15 | 44.06 ▼3.38 |
Dashboard /wp-admin | 2,200 ▲20 | 5.59 ▼0.01 | 97.64 ▲8.97 | 43.46 ▲1.91 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 2.02 ▲0.02 | 40.27 ▲0.94 | 36.83 ▲1.44 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.06 ▲0.03 | 680.00 ▲70.70 | 51.68 ▼0.91 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.20 ▲0.05 | 103.77 ▼12.61 | 46.38 ▼4.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Everything seems fine, however this is by no means an exhaustive test
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
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: image hover, hover style, hover image, visual composer hover image, wpbakery hover effects
image-hover-effects-for-wpbakery-page-builder/image-hover-effects-addon.php 85% from 13 tests
"Image Hover Effects for WPBakery Page Builder" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("image-hover-effects-for-wpbakery-page-builder.php" instead of "image-hover-effects-addon.php")
- Text Domain: The text domain should only use lowercase characters and dashes
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 plugin1,217 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 52 | 63 | 486 |
CSS | 1 | 0 | 4 | 421 |
JavaScript | 3 | 62 | 39 | 310 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
7 PNG files occupy 0.26MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/hoverimage/jag-himg-s1.png | 80.24KB | 35.10KB | ▼ 56.26% |
assets/hover-image/img/confetti.png | 21.11KB | 8.75KB | ▼ 58.57% |
assets/hover-image/img/snow-color.png | 13.16KB | 5.53KB | ▼ 57.97% |
assets/hover-image/img/snow-white.png | 10.99KB | 5.01KB | ▼ 54.44% |
admin/images/hoverimage/jag-himg-s3.png | 81.63KB | 34.95KB | ▼ 57.19% |