83% animated-text

Code Review | WordPress Animated Text Plugin

WordPress plugin WordPress Animated Text Plugin scored83%from 54 tests.

About plugin

  • Plugin page: animated-text
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-4.9.7
  • WordPress version: 6.3.1
  • First release: Jul 23, 2018
  • Latest release: Mar 15, 2022
  • Number of updates: 5
  • Update frequency: every 266.4 days
  • Top authors: gaupoit (80%)profaceoff (40%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,512 total downloads


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.06MB] [CPU: ▼0.51ms] Passed 4 tests

This is a short check of server-side resources used by WordPress Animated Text Plugin
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0738.60 ▼0.72
Dashboard /wp-admin3.37 ▲0.0649.20 ▼1.34
Posts /wp-admin/edit.php3.48 ▲0.1249.68 ▲2.35
Add New Post /wp-admin/post-new.php5.95 ▲0.0693.92 ▲2.12
Media Library /wp-admin/upload.php3.29 ▲0.0635.44 ▼2.08

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for WordPress Animated Text Plugin
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,887 ▲14113.56 ▼0.654.82 ▲2.7239.99 ▼3.78
Dashboard /wp-admin2,208 ▲204.87 ▼1.03114.21 ▲7.7141.29 ▼1.68
Posts /wp-admin/edit.php2,088 ▼42.03 ▼0.0140.36 ▲3.7136.98 ▲1.65
Add New Post /wp-admin/post-new.php1,530 ▲1023.30 ▲0.10642.93 ▼2.3964.58 ▼0.01
Media Library /wp-admin/upload.php1,390 ▲24.22 ▲0.05100.21 ▼8.0142.79 ▼4.98

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
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • 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
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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
Please fix the following items
  • 2× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/animated-text/admin/partials/wp-animated-text-plugin-admin-display.php
    • > /wp-content/plugins/animated-text/public/partials/wp-animated-text-plugin-public-display.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found


Plugin configuration 90% 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
These attributes need to be fixed:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Select effect you want to apply), #2 (Save the pages/posts content with the generated shortcode)
Please take inspiration from this readme.txt

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

"WordPress Animated Text Plugin" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("animated-text.php" instead of "wp-animated-text-plugin.php")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,565 lines of code in 34 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity2.29
▷ Minimum class complexity1.00
▷ Maximum class complexity7.00
Average method complexity1.25
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
▷ Static methods26.90%
▷ Public methods2379.31%
▷ Protected methods00.00%
▷ Private methods620.69%
▷ Named functions375.00%
▷ Anonymous functions125.00%
▷ Global constants1100.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
No PNG images were found in this plugin