Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.67ms] Passed 4 tests
A check of server-side resources used by Advanced Image Hover Effect – Elementor Addon
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 36.99 ▼5.91 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.77 ▼7.08 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.55 ▼1.19 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 97.09 ▼8.48 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.71 ▲0.97 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Image Hover Effect – Elementor Addon
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲38 | 14.67 ▲0.30 | 1.79 ▲0.15 | 41.86 ▼2.80 |
Dashboard /wp-admin | 2,208 ▲28 | 5.55 ▼0.12 | 91.29 ▲3.57 | 41.24 ▼0.00 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 2.08 ▲0.05 | 39.78 ▲1.68 | 36.70 ▲3.12 |
Add New Post /wp-admin/post-new.php | 1,536 ▲9 | 23.03 ▼0.16 | 621.09 ▼58.88 | 52.72 ▼2.57 |
Media Library /wp-admin/upload.php | 1,407 ▲13 | 4.27 ▲0.06 | 100.07 ▲0.90 | 43.91 ▲2.07 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: awesome image effects, responsive image effects, elementor, elementor widget, image hover effects...
advanced-image-hover-effect-for-elementor/advanced-image-hover-effect-for-elementor.php 92% from 13 tests
"Advanced Image Hover Effect – Elementor Addon" version 1.11.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis 97% from 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 detected2,851 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 73 | 49 | 1,821 |
CSS | 2 | 42 | 40 | 1,017 |
JavaScript | 1 | 0 | 0 | 13 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
The following items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 125)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 69.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 8.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 125.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 1 | 5.26% |
▷ Public methods | 17 | 89.47% |
▷ Protected methods | 2 | 10.53% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/image/placeholder.png | 9.94KB | 8.86KB | ▼ 10.83% |