90% hover-effects

Code Review | Hover Effects - easily create any hover effect

WordPress plugin Hover Effects - easily create any hover effect scored90%from 54 tests.

About plugin

  • Plugin page: hover-effects
  • Plugin version: 2.1.2
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-6.3
  • WordPress version: 6.3.1
  • First release: Mar 5, 2017
  • Latest release: Oct 17, 2023
  • Number of updates: 27
  • Update frequency: every 89.4 days
  • Top authors: Wpcalc (100%)

Code review

54 tests

User reviews

16 reviews

Install metrics

7,000+ active /45,601 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.12MB] [CPU: ▼3.56ms] Passed 4 tests

This is a short check of server-side resources used by Hover Effects - easily create any hover effect
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1337.26 ▼0.58
Dashboard /wp-admin3.43 ▲0.1246.93 ▲1.34
Posts /wp-admin/edit.php3.55 ▲0.1946.47 ▼0.29
Add New Post /wp-admin/post-new.php6.01 ▲0.1279.71 ▼12.89
Media Library /wp-admin/upload.php3.36 ▲0.1233.75 ▼0.47
Hover Effects /wp-admin/admin.php?page=hover-effects3.3330.91
Welcome /wp-admin/admin.php?page=wow-company3.3231.42

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 80 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Hover Effects - easily create any hover effect
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,857 ▲9614.18 ▼0.171.81 ▲0.1543.68 ▲4.77
Dashboard /wp-admin2,264 ▲965.64 ▲0.0691.64 ▲4.7738.92 ▼2.82
Posts /wp-admin/edit.php2,169 ▲692.00 ▲0.0545.55 ▲5.3137.62 ▼2.52
Add New Post /wp-admin/post-new.php1,555 ▲1623.05 ▲0.22687.59 ▲17.7153.08 ▼4.97
Media Library /wp-admin/upload.php1,460 ▲604.21 ▲0.0298.20 ▼9.9440.20 ▼6.49
Hover Effects /wp-admin/admin.php?page=hover-effects1,2482.0026.2354.54
Welcome /wp-admin/admin.php?page=wow-company9252.0025.9141.32

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP 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 Passed 29 tests

readme.txt Passed 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
4 plugin tags: image hover effects, hover effects, hover animations, button hover effects

hover-effects/hover-effects.php Passed 13 tests

The principal PHP file in "Hover Effects - easily create any hover effect" v. 2.1.2 is loaded by WordPress automatically on each request
91 characters long description:
Hover Effect is easily applied to your own elements, modified or just used for inspiration.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected11,103 lines of code in 54 files:
LanguageFilesBlank linesComment linesLines of code
CSS776553,363
SVG1002,671
Sass1434341,768
LESS1434441,758
PHP161853421,524
JavaScript20019

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity16.17
▷ Minimum class complexity3.00
▷ Maximum class complexity37.00
Average method complexity2.60
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes116.67%
Methods57
▷ Static methods00.00%
▷ Public methods2645.61%
▷ Protected methods00.00%
▷ Private methods3154.39%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants10
▷ Global constants00.00%
▷ Class constants10100.00%
▷ Public constants10100.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
6 PNG files occupy 0.14MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
asset/about/image/icon.png121.88KB28.08KB▼ 76.96%
admin/partials/img/wpcalc.png3.78KB1.44KB▼ 61.98%
include/class/menu/icon.png0.56KB0.76KB0.00%
admin/partials/img/banner.png5.52KB6.16KB0.00%
admin/partials/img/icon.png8.25KB4.76KB▼ 42.29%