83% actus-animated-words-slider

Code Review | ACTUS Animated Words Slider

WordPress plugin ACTUS Animated Words Slider scored83%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: 6.3.1
  • 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,398 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
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼6.29ms] Passed 4 tests

A check of server-side resources used by ACTUS Animated Words Slider
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0739.00 ▲0.97
Dashboard /wp-admin3.43 ▲0.1343.93 ▼7.12
Posts /wp-admin/edit.php3.54 ▲0.1942.03 ▲2.05
Add New Post /wp-admin/post-new.php5.57 ▼0.3273.60 ▼21.06
Media Library /wp-admin/upload.php3.35 ▲0.1234.50 ▲4.34
ACTUS /wp-admin/admin.php?page=actus-plugins3.3231.04
ACTUS Animated Words Slider /wp-admin/admin.php?page=actus-animated-words-slider3.3229.83

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 43 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for ACTUS Animated Words Slider
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,811 ▲5014.17 ▼0.201.74 ▲0.0742.78 ▼5.85
Dashboard /wp-admin2,220 ▲435.65 ▲0.0280.74 ▼8.5270.70 ▲32.35
Posts /wp-admin/edit.php2,122 ▲221.99 ▼0.0135.96 ▼1.5033.30 ▼2.32
Add New Post /wp-admin/post-new.php6,779 ▲5,25326.40 ▲3.29966.73 ▲341.0683.93 ▲34.72
Media Library /wp-admin/upload.php1,422 ▲224.20 ▼0.0194.19 ▼0.8670.07 ▲27.60
ACTUS /wp-admin/admin.php?page=actus-plugins8742.1425.1140.70
ACTUS Animated Words Slider /wp-admin/admin.php?page=actus-animated-words-slider9182.1423.2125.03

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please fix the following items
  • 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
  • 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

The main PHP file in "ACTUS Animated Words Slider" ver. 1.2.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • 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 plugin2,628 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
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/actus_black_20.png15.39KB0.73KB▼ 95.24%
img/caret-down.png2.25KB0.54KB▼ 75.98%
img/banner-amtn.png80.17KB44.90KB▼ 44.00%
img/banner-xfields.png137.08KB61.12KB▼ 55.41%
img/banner-anit.png151.54KB58.33KB▼ 61.51%