89% ani-mate-animation-extension

Code Review | Ani-Mate Gutenberg Animation Extension

WordPress plugin Ani-Mate Gutenberg Animation Extension scored89%from 54 tests.

About plugin

  • Plugin page: ani-mate-animatio...
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: May 24, 2023
  • Latest release: Aug 15, 2023
  • Number of updates: 3
  • Update frequency: every 30.3 days
  • Top authors: tweakitguy (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /166 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by Ani-Mate Gutenberg Animation Extension
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0135.82 ▼5.75
Dashboard /wp-admin3.31 ▲0.0047.27 ▼3.69
Posts /wp-admin/edit.php3.36 ▲0.0041.92 ▼2.01
Add New Post /wp-admin/post-new.php7.17 ▲1.2884.73 ▼25.15
Media Library /wp-admin/upload.php3.23 ▲0.0036.03 ▲4.99

Server storage [IO: ▲0.09MB] [DB: ▲0.07MB] Passed 3 tests

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Ani-Mate Gutenberg Animation Extension
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,972 ▲22621.72 ▲7.23183.86 ▲182.2774.99 ▲30.75
Dashboard /wp-admin2,195 ▲185.53 ▲0.0086.22 ▼0.7041.21 ▼1.55
Posts /wp-admin/edit.php2,100 ▲31.98 ▼0.0132.78 ▼2.5836.14 ▼3.50
Add New Post /wp-admin/post-new.php1,528 ▲224.49 ▲1.53658.43 ▼13.9235.03 ▼21.60
Media Library /wp-admin/upload.php1,397 ▼34.21 ▲0.0398.89 ▼5.1241.32 ▼4.77

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: animation, gutenberg, aos

ani-mate-animation-extension/mvam-animate.php 85% from 13 tests

Analyzing the main PHP file in "Ani-Mate Gutenberg Animation Extension" version 1.0.1
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ani-mate-animation-extension.php" instead of "mvam-animate.php")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

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 plugin709 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript550108670
PHP251923
JSON10015
CSS1001

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin