77% image-hover-effects-elementor-addon

Code Review | Image Hover Effects for Elementor

WordPress plugin Image Hover Effects for Elementor scored77%from 54 tests.

About plugin

  • Plugin page: image-hover-effec...
  • Plugin version: 1.0.2.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Jul 1, 2020
  • Latest release: Aug 29, 2023
  • Number of updates: 7
  • Update frequency: every 164.9 days
  • Top authors: Litonice13 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,439 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.21MB] [CPU: ▲1,116.60ms] 50% from 4 tests

This is a short check of server-side resources used by Image Hover Effects for Elementor
Please have a look at the following items
  • CPU: The total CPU usage must kept under 500.00ms (currently 1,414.14ms on /wp-admin/options-general.php?page=image-hover-effects-elementor-addon-recommended-plugins)
  • Extra CPU: The extra CPU usage should be kept under 200.00ms (currently 1,116.60ms on /wp-admin/options-general.php?page=image-hover-effects-elementor-addon-recommended-plugins)
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.19660.21 ▲617.23
Dashboard /wp-admin3.60 ▲0.261,559.88 ▲1,493.97
Posts /wp-admin/edit.php3.60 ▲0.241,340.18 ▲1,289.78
Add New Post /wp-admin/post-new.php6.08 ▲0.191,347.77 ▲1,245.35
Media Library /wp-admin/upload.php3.44 ▲0.211,350.28 ▲1,314.04
Recommended /wp-admin/options-general.php?page=image-hover-effects-elementor-addon-recommended-plugins3.411,414.14

Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 44 new files
Database: no new tables, 13 new options
New WordPress options
image_hover_effects_elementor_addon_version
jltimghe_sheet_promo_data
can_compress_scripts
theysaidso_admin_options
jltimghe_sheet_promo_data_hash
jltimghe_activation_time
db_upgraded
jltimghe_notice_subscribe
widget_theysaidso_widget
jltimghe_notice_what_we_collect
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Image Hover Effects for Elementor
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,071 ▲30013.93 ▼0.477.71 ▲5.6441.06 ▼6.65
Dashboard /wp-admin2,395 ▲2105.90 ▲0.08104.96 ▲1.5941.99 ▼7.21
Posts /wp-admin/edit.php2,206 ▲1172.10 ▲0.0737.99 ▼2.3834.01 ▼2.10
Add New Post /wp-admin/post-new.php1,618 ▲10421.15 ▲3.51653.24 ▼14.9062.59 ▲6.13
Media Library /wp-admin/upload.php1,506 ▲1154.24 ▲0.10100.00 ▼4.6842.42 ▼4.89
Recommended /wp-admin/options-general.php?page=image-hover-effects-elementor-addon-recommended-plugins1,2811.9330.1428.58

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 13 options in the database
    • widget_recent-posts
    • jltimghe_notice_what_we_collect
    • jltimghe_activation_time
    • jltimghe_notice_ask_for_rating
    • can_compress_scripts
    • theysaidso_admin_options
    • jltimghe_sheet_promo_data_hash
    • db_upgraded
    • widget_theysaidso_widget
    • jltimghe_sheet_promo_data
    • ...

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 8× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'JLTIMGHE\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/image-hover-effects-elementor-addon/Inc/Classes/Notifications/Subscribe.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'JLTIMGHE\\Libs\\RowLinks' not found in wp-content/plugins/image-hover-effects-elementor-addon/Inc/Classes/Row_Links.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/image-hover-effects-elementor-addon/image-hover-effects-elementor-addon.php:21
    • > PHP Fatal error
      Uncaught Error: Class 'JLTIMGHE\\Inc\\Classes\otifications\\Model\\Popup' not found in wp-content/plugins/image-hover-effects-elementor-addon/Inc/Classes/Notifications/Upgrade_Notice.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'JLTIMGHE\\Libs\\Recommended' not found in wp-content/plugins/image-hover-effects-elementor-addon/Inc/Classes/Recommended_Plugins.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'JLTIMGHE\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/image-hover-effects-elementor-addon/Inc/Classes/Notifications/What_We_Collect.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'JLTIMGHE\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/image-hover-effects-elementor-addon/Inc/Classes/Notifications/Ask_For_Rating.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'JLTIMGHE\\Libs\\Upgrader' not found in wp-content/plugins/image-hover-effects-elementor-addon/Inc/Classes/Upgrade_Plugin.php:12

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
    • > GET request to /wp-admin/options-general.php?page=image-hover-effects-elementor-addon-recommended-plugins
    • > Network (severe)
    https://ps.w.org/ultimate-blocks-for-gutenberg/assets/icon-128x128.png - Failed to load resource: the server responded with a status of 404 ()

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Tags: Please delete some tags, you are using 11 tag instead of maximum 10
Please take inspiration from this readme.txt

image-hover-effects-elementor-addon/image-hover-effects-elementor-addon.php 85% from 13 tests

This is the main PHP file of "Image Hover Effects for Elementor" version 1.0.2.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages/")
  • Domain Path: The domain path must begin with a forward slash character ("/languages/")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin6,627 lines of code in 43 files:
LanguageFilesBlank linesComment linesLines of code
PHP389771,4963,922
CSS34791352,551
JavaScript2159154

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity11.17
▷ Minimum class complexity1.00
▷ Maximum class complexity47.00
Average method complexity2.44
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces9
Interfaces0
Traits2
Classes27
▷ Abstract classes414.81%
▷ Concrete classes2385.19%
▷ Final classes14.35%
Methods207
▷ Static methods3315.94%
▷ Public methods20096.62%
▷ Protected methods41.93%
▷ Private methods31.45%
Functions9
▷ Named functions555.56%
▷ Anonymous functions444.44%
Constants18
▷ Global constants1583.33%
▷ Class constants316.67%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin