84% animation-hover-box

Code Review | Animation Hover Box

WordPress plugin Animation Hover Box scored 84% from 54 tests.

About plugin

  • Plugin page: animation-hover-box
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.1-5.7
  • WordPress version: 6.3.1
  • First release: Jan 27, 2019
  • Latest release: Mar 22, 2021
  • Number of updates: 5
  • Update frequency: every 157.4 days
  • Top authors: nayon46 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 930 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.03MB] [CPU: ▼2.53ms] Passed 4 tests

Analyzing server-side resources used by Animation Hover Box
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0449.27 ▲3.34
Dashboard /wp-admin3.34 ▲0.0347.76 ▼4.30
Posts /wp-admin/edit.php3.39 ▲0.0346.96 ▼3.54
Add New Post /wp-admin/post-new.php5.92 ▲0.0394.43 ▼2.99
Media Library /wp-admin/upload.php3.26 ▲0.0334.11 ▲0.70
Hover Content /wp-admin/edit.php?post_type=hover-content3.3035.49
Add New /wp-admin/post-new.php?post_type=hover-content3.3851.81

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Animation Hover Box
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,915 ▲18013.78 ▼0.7611.08 ▲9.3848.14 ▲4.89
Dashboard /wp-admin2,227 ▲395.83 ▼0.00105.87 ▼8.7341.45 ▼1.80
Posts /wp-admin/edit.php2,113 ▲212.05 ▲0.0436.41 ▼6.7133.32 ▼6.74
Add New Post /wp-admin/post-new.php1,556 ▲2823.17 ▲5.11608.43 ▼37.9256.96 ▼16.73
Media Library /wp-admin/upload.php1,418 ▲304.18 ▲0.0397.92 ▼10.8444.81 ▼0.51
Hover Content /wp-admin/edit.php?post_type=hover-content1,0801.9833.3130.04
Add New /wp-admin/post-new.php?post_type=hover-content2,1757.72175.9465.94

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/animation-hover-box/animation-hover-box.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
  • Screenshots: Please add images for these screenshots: #1 (This is the first screen shot), #2 (This is the second screen shot), #3 (This is the third screen shot), #4 (This is the fourth screen shot), #5 (This is the fifth screen shot)
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === animation-hover-box === )
You can look at the official readme.txt

animation-hover-box/animation-hover-box.php Passed 13 tests

The entry point to "Animation Hover Box" version 1.0 is a PHP file that has certain tags in its header comment area
135 characters long description:
Amazing hover effects is an impressive hover effects collection.It is the fastest and most easiest plugin to set up in just few minutes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin114 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
CSS27663
PHP121750
JavaScript1061

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.05
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.25
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin