89% advanced-image-hover-effect-for-elementor

Code Review | Advanced Image Hover Effect – Elementor Addon

WordPress plugin Advanced Image Hover Effect – Elementor Addon scored89%from 54 tests.

About plugin

  • Plugin page: advanced-image-ho...
  • Plugin version: 1.11.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.7.0-6.4
  • WordPress version: 6.3.1
  • First release: Oct 14, 2020
  • Latest release: Nov 8, 2023
  • Number of updates: 28
  • Update frequency: every 40.1 days
  • Top authors: kapasias (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

1,000+ active /12,582 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0236.99 ▼5.91
Dashboard /wp-admin3.34 ▲0.0346.77 ▼7.08
Posts /wp-admin/edit.php3.39 ▲0.0347.55 ▼1.19
Add New Post /wp-admin/post-new.php5.92 ▲0.0397.09 ▼8.48
Media Library /wp-admin/upload.php3.26 ▲0.0334.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

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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲3814.67 ▲0.301.79 ▲0.1541.86 ▼2.80
Dashboard /wp-admin2,208 ▲285.55 ▼0.1291.29 ▲3.5741.24 ▼0.00
Posts /wp-admin/edit.php2,110 ▲72.08 ▲0.0539.78 ▲1.6836.70 ▲3.12
Add New Post /wp-admin/post-new.php1,536 ▲923.03 ▼0.16621.09 ▼58.8852.72 ▼2.57
Media Library /wp-admin/upload.php1,407 ▲134.27 ▲0.06100.07 ▲0.9043.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


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:
LanguageFilesBlank linesComment linesLines of code

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 code0.45
Average class complexity69.00
▷ Minimum class complexity12.00
▷ Maximum class complexity126.00
Average method complexity8.16
▷ Minimum method complexity1.00
▷ Maximum method complexity125.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods15.26%
▷ Public methods1789.47%
▷ Protected methods210.53%
▷ Private methods00.00%
▷ Named functions2100.00%
▷ Anonymous functions00.00%
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
assets/image/placeholder.png9.94KB8.86KB▼ 10.83%