90% beautiful-animation

Code Review | Love - Beautiful Animation

WordPress plugin Love - Beautiful Animation scored90%from 54 tests.

About plugin

  • Plugin page: beautiful-animation
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2
  • WordPress version: 6.3.1
  • First release: Aug 5, 2018
  • Latest release: May 8, 2023
  • Number of updates: 43
  • Update frequency: every 40.4 days
  • Top authors: tawhidurrahmandear (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,346 total downloads

Benchmarks

Plugin footprint 83% from 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.00MB] [CPU: ▼8.99ms] Passed 4 tests

A check of server-side resources used by Love - Beautiful Animation
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0138.91 ▼5.00
Dashboard /wp-admin3.32 ▼0.0342.06 ▼11.75
Posts /wp-admin/edit.php3.37 ▲0.0144.99 ▼1.85
Add New Post /wp-admin/post-new.php5.90 ▲0.0177.47 ▼17.35
Media Library /wp-admin/upload.php3.25 ▲0.0133.67 ▼0.41

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Love - Beautiful Animation
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,833 ▲4714.36 ▼0.244.34 ▲2.3746.48 ▲2.46
Dashboard /wp-admin2,192 ▲155.58 ▼0.0685.19 ▼4.7239.34 ▲2.24
Posts /wp-admin/edit.php2,097 ▼32.02 ▲0.0539.77 ▲4.4535.46 ▼0.68
Add New Post /wp-admin/post-new.php1,526 ▼023.68 ▲0.72649.71 ▼34.8160.34 ▼6.56
Media Library /wp-admin/upload.php1,400 ▼04.19 ▼0.0694.05 ▼8.2342.72 ▼3.78

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
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
5 plugin tags: animation, love, style, background, fun

beautiful-animation/beautiful-animation.php Passed 13 tests

"Love - Beautiful Animation" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
84 characters long description:
Only PlugIn activation is enough! No need to use any short-code or to edit settings.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin116 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13315116

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.50
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There are no PNG files in this plugin