90% animated-headline-elementor

Code Review | Animated Headline Elementor

WordPress plugin Animated Headline Elementor scored90%from 54 tests.

About plugin

  • Plugin page: animated-headline...
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.2
  • WordPress version: 6.3.1
  • First release: Nov 2, 2022
  • Latest release: Apr 7, 2023
  • Number of updates: 10
  • Update frequency: every 15.7 days
  • Top authors: habibur899 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /1,189 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼5.32ms] Passed 4 tests

This is a short check of server-side resources used by Animated Headline Elementor
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0441.53 ▼3.05
Dashboard /wp-admin3.34 ▲0.0444.87 ▼2.32
Posts /wp-admin/edit.php3.39 ▲0.0349.25 ▼0.74
Add New Post /wp-admin/post-new.php5.92 ▲0.0390.55 ▼15.16
Media Library /wp-admin/upload.php3.26 ▲0.0336.86 ▲6.77

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Animated Headline Elementor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲8313.23 ▼1.031.63 ▼0.0838.07 ▼9.83
Dashboard /wp-admin2,221 ▲335.81 ▲0.7396.16 ▼17.2039.35 ▼4.35
Posts /wp-admin/edit.php2,106 ▲172.07 ▲0.0241.17 ▼0.0337.72 ▲0.82
Add New Post /wp-admin/post-new.php1,547 ▲1923.03 ▼0.49591.75 ▼71.0046.46 ▼5.80
Media Library /wp-admin/upload.php1,409 ▲184.20 ▼0.0798.58 ▼0.7043.33 ▼0.27

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

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

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: clip, animated, slide, rotate, elementor...

animated-headline-elementor/animated-headline-elementor.php Passed 13 tests

The entry point to "Animated Headline Elementor" version 1.0.0 is a PHP file that has certain tags in its header comment area
47 characters long description:
Animated headline support plugin for elementor.

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
Success! There were no dangerous files found in this plugin2,089 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
CSS249411,225
PHP394222557
JavaScript24819307

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity19.50
▷ Minimum class complexity9.00
▷ Maximum class complexity30.00
Average method complexity2.76
▷ Minimum method complexity1.00
▷ Maximum method complexity30.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
Methods21
▷ Static methods14.76%
▷ Public methods1990.48%
▷ Protected methods29.52%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected