90% title-animator

Code Review | TITLE ANIMATOR

WordPress plugin TITLE ANIMATOR scored 90% from 54 tests.

About plugin

  • Plugin page: title-animator
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-4.2
  • WordPress version: 6.3.1
  • First release: Feb 13, 2014
  • Latest release: Apr 22, 2015
  • Number of updates: 8
  • Update frequency: every 54.1 days
  • Top authors: arkapravamajumder (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

50+ active / 4,665 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by TITLE ANIMATOR
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.25 ▼8.93
Dashboard /wp-admin3.32 ▲0.0146.37 ▼6.91
Posts /wp-admin/edit.php3.37 ▲0.0149.07 ▲3.61
Add New Post /wp-admin/post-new.php5.92 ▲0.0384.15 ▼6.80
Media Library /wp-admin/upload.php3.24 ▲0.0134.65 ▼1.97
Title Animator /wp-admin/options-general.php?page=title_animator3.2428.28

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
db_upgraded
tr_radio

Browser metrics Passed 4 tests

Checking browser requirements for TITLE ANIMATOR
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,811 ▲4013.35 ▼0.951.90 ▼0.0740.13 ▼5.33
Dashboard /wp-admin2,208 ▲315.83 ▲0.95120.76 ▲3.6943.18 ▼4.65
Posts /wp-admin/edit.php2,097 ▲82.01 ▼0.0240.06 ▲4.6334.93 ▼5.51
Add New Post /wp-admin/post-new.php1,539 ▼823.19 ▼1.01665.39 ▼20.4060.15 ▲1.34
Media Library /wp-admin/upload.php1,393 ▲84.24 ▲0.0694.80 ▼4.7140.29 ▼6.41
Title Animator /wp-admin/options-general.php?page=title_animator8172.3226.1323.99

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
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

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

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 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
4 plugin tags: title tag, title rotator, title, title animator

title-animator/title-animator.php Passed 13 tests

"TITLE ANIMATOR" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
40 characters long description:
Animated Title (Title tag) in Wordpress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin242 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript530133
PHP239109

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity1.83
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin