83% animated-text-block

Code Review | Animated Text Block - Apply animation on any text.

WordPress plugin Animated Text Block - Apply animation on any text. scored83%from 54 tests.

About plugin

  • Plugin page: animated-text-block
  • Plugin version: 1.0.6
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Dec 21, 2021
  • Latest release: Oct 3, 2023
  • Number of updates: 21
  • Update frequency: every 31.1 days
  • Top authors: charlescormier (85.71%)abuhayat (19.05%)

Code review

54 tests

User reviews

4 reviews

Install metrics

2,000+ active /12,526 total downloads


Plugin footprint 83% 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.02MB] [CPU: ▼6.54ms] Passed 4 tests

Analyzing server-side resources used by Animated Text Block - Apply animation on any text.
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0450.39 ▲4.00
Dashboard /wp-admin3.34 ▼0.0150.15 ▼15.70
Posts /wp-admin/edit.php3.39 ▲0.0349.41 ▲0.44
Add New Post /wp-admin/post-new.php5.94 ▲0.0585.78 ▼1.12
Media Library /wp-admin/upload.php3.26 ▲0.0338.78 ▼9.78

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Animated Text Block - Apply animation on any text.
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.30 ▼1.071.71 ▼0.1237.27 ▼4.99
Dashboard /wp-admin2,206 ▲184.92 ▼0.97101.31 ▼16.6544.30 ▲0.59
Posts /wp-admin/edit.php2,089 ▲32.00 ▲0.0236.30 ▼0.0735.37 ▲2.46
Add New Post /wp-admin/post-new.php6,190 ▲4,67619.17 ▲1.68947.40 ▲249.5438.01 ▼27.06
Media Library /wp-admin/upload.php1,388 ▼04.17 ▲0.00112.27 ▲1.0347.00 ▲0.50

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/animated-text-block/inc/block.php:4
    • > PHP Warning
      Use of undefined constant ATB_VERSION - assumed 'ATB_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/animated-text-block/dist/editor.asset.php on line 3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
  • Requires at least: Invalid plugin version format
The official readme.txt might help

animated-text-block/plugin.php 85% from 13 tests

The main PHP script in "Animated Text Block - Apply animation on any text." version 1.0.6 is automatically included on every request by WordPress
The following require your attention:
  • 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
  • Main file name: The principal plugin file should be the same as the plugin slug ("animated-text-block.php" instead of "plugin.php")

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 plugin326 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PO File180158173

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.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
PNG images were not found in this plugin