89% image-hover-effects-with-carousel

Code Review | Image Hover Effects for Elementor with Lightbox and Flipbox

WordPress plugin Image Hover Effects for Elementor with Lightbox and Flipbox scored89%from 54 tests.

About plugin

  • Plugin page: image-hover-effec...
  • Plugin version: 3.0.2
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.4.1
  • WordPress version: 6.3.1
  • First release: Jun 29, 2017
  • Latest release: Nov 19, 2023
  • Number of updates: 26
  • Update frequency: every 89.9 days
  • Top authors: biplob018 (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

1,000+ active /19,823 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼9.81ms] Passed 4 tests

A check of server-side resources used by Image Hover Effects for Elementor with Lightbox and Flipbox
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.05 ▼6.87
Dashboard /wp-admin3.32 ▼0.0248.26 ▼14.12
Posts /wp-admin/edit.php3.44 ▲0.0840.29 ▼8.18
Add New Post /wp-admin/post-new.php5.90 ▲0.0283.43 ▼10.07
Media Library /wp-admin/upload.php3.25 ▲0.0233.52 ▲3.54

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 84 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
oxi_image_addons_install
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Image Hover Effects for Elementor with Lightbox and Flipbox
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,826 ▲6414.68 ▲0.391.59 ▼0.0646.18 ▲2.73
Dashboard /wp-admin2,228 ▲485.56 ▼0.0986.48 ▼10.8441.26 ▼5.95
Posts /wp-admin/edit.php2,139 ▲392.01 ▲0.0436.33 ▲0.4234.30 ▲1.84
Add New Post /wp-admin/post-new.php1,554 ▲1923.45 ▼1.73677.30 ▲25.1054.60 ▼11.89
Media Library /wp-admin/upload.php1,439 ▲364.19 ▲0.02101.94 ▲2.7143.59 ▲3.56

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • oxi_image_addons_install
    • 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 | 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 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
Attributes that need to be fixed:
  • Screenshots: Screenshot #4 (screenshot 4) image not found
The official readme.txt is a good inspiration

image-hover-effects-with-carousel/index.php 92% from 13 tests

The entry point to "Image Hover Effects for Elementor with Lightbox and Flipbox" version 3.0.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("image-hover-effects-with-carousel.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin40,887 lines of code in 81 files:
LanguageFilesBlank linesComment linesLines of code
CSS683,0137822,949
PHP1281420017,891
JavaScript15047

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity42.90
▷ Minimum class complexity4.00
▷ Maximum class complexity67.00
Average method complexity3.28
▷ Minimum method complexity1.00
▷ Maximum method complexity65.00
Code structure
Namespaces5
Interfaces0
Traits2
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes112.50%
Methods185
▷ Static methods10.54%
▷ Public methods12668.11%
▷ Protected methods5931.89%
▷ Private methods00.00%
Functions3
▷ Named functions00.00%
▷ Anonymous functions3100.00%
Constants9
▷ Global constants666.67%
▷ Class constants333.33%
▷ Public constants3100.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 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/logo.png22.27KB2.17KB▼ 90.25%