93% actus-animated-words-slider

Code Review | ACTUS Animated Words Slider

WordPress plugin ACTUS Animated Words Slider scored 93% from 54 tests.

About plugin

  • Plugin page: actus-animated-wo...
  • Plugin version: 1.2.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.1
  • WordPress version: 5.9.2
  • First release: Jul 7, 2017
  • Latest release: Mar 20, 2019
  • Number of updates: 29
  • Update frequency: every 21.4 days
  • Top authors: actusanima (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active / 1,099 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▼0.10MB] [CPU: ▼293.02ms] Passed 4 tests

An overview of server-side resources used by ACTUS Animated Words Slider
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1453.09 ▲6.92
Dashboard /wp-admin3.54 ▲0.1433.48 ▲0.27
Posts /wp-admin/edit.php3.77 ▲0.1339.12 ▲3.34
Add New Post /wp-admin/post-new.php6.18 ▼0.7979.68 ▼1,177.88
Media Library /wp-admin/upload.php3.42 ▲0.1226.02 ▲2.20
ACTUS /wp-admin/admin.php?page=actus-plugins3.3922.21
ACTUS Animated Words Slider /wp-admin/admin.php?page=actus-animated-words-slider3.3923.81

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 43 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by ACTUS Animated Words Slider
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,792 ▲7015.82 ▲0.106.23 ▲0.432.82 ▲0.04
Dashboard /wp-admin2,921 ▲636.22 ▲0.03116.35 ▼17.17176.99 ▲19.73
Posts /wp-admin/edit.php2,721 ▲273.10 ▼0.1459.93 ▼5.57138.60 ▼4.77
Add New Post /wp-admin/post-new.php2,303 ▲64222.62 ▲6.64465.01 ▲45.98206.31 ▲49.52
Media Library /wp-admin/upload.php1,724 ▲265.52 ▲0.03124.01 ▼14.84202.80 ▲18.69
ACTUS /wp-admin/admin.php?page=actus-plugins1,0852.4053.09134.83
ACTUS Animated Words Slider /wp-admin/admin.php?page=actus-animated-words-slider1,2572.5053.92104.43

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/actus-animated-words-slider/includes/actus-plugins.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/actus-animated-words-slider/includes/actus-aaws-edit.php:520

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Tags: You are using too many tags: 12 tag instead of maximum 10
The official readme.txt might help

actus-animated-words-slider/actus-animated-words-slider.php 92% from 13 tests

This is the main PHP file of "ACTUS Animated Words Slider" version 1.2.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,628 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.31
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions18100.00%
▷ Anonymous functions00.00%
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
20 PNG files occupy 0.54MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/checkbox2.png2.49KB1.66KB▼ 33.20%
img/actus_black_20.png15.39KB0.73KB▼ 95.24%
img/banner-anit.png151.54KB58.33KB▼ 61.51%
img/banner-xfields.png137.08KB61.12KB▼ 55.41%
img/title.png21.30KB1.81KB▼ 91.48%