94% just-animate

Code Review | Just Animate - For Classic Editor

WordPress plugin Just Animate - For Classic Editor scored 94% from 53 tests.

About plugin

  • Plugin page: just-animate
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.5
  • WordPress version: 5.8.1
  • First release: Dec 5, 2020
  • Latest release: Dec 6, 2020
  • Number of updates: 13
  • Update frequency: every 0.4 days
  • Top authors: sigalitam (100%)

Code review

53 tests

User reviews

1 review

Install metrics

30+ active / 309 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Just Animate - For Classic Editor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1228.12 ▲6.05
Dashboard /wp-admin3.06 ▲0.0137.14 ▼5.22
Posts /wp-admin/edit.php3.11 ▲0.0144.19 ▲2.04
Add New Post /wp-admin/post-new.php5.44 ▲0.0192.66 ▼1,046.04
Media Library /wp-admin/upload.php3.00 ▼0.0029.54 ▼7.41

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Just Animate - For Classic Editor
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,785 ▲18016.18 ▲0.6111.53 ▲3.0448.65 ▼0.45
Dashboard /wp-admin2,951 ▲986.09 ▲0.21135.67 ▲5.14110.54 ▲7.13
Posts /wp-admin/edit.php2,705 ▼12.71 ▲0.0161.98 ▼9.3897.11 ▲4.25
Add New Post /wp-admin/post-new.php1,857 ▼018.97 ▼0.14370.88 ▼2.91109.46 ▲1.01
Media Library /wp-admin/upload.php1,774 ▲25.02 ▼0.01138.49 ▼4.69104.36 ▼25.53

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
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 take a closer look at the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/just-animate/just-animate.php:43

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
  • Tags: You are using too many tags: 12 tag instead of maximum 10
You can take inspiration from this readme.txt

just-animate/just-animate.php Passed 13 tests

Analyzing the main PHP file in "Just Animate - For Classic Editor" version 1.0
137 characters long description:
Just Animate is a WordPress plugin for Animate blocks and text in your posts or pages, and easily create beautiful posts with animations.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected301 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.37
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 functions9100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 0% from 1 test

Image compression 0% from 1 test

PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 3.22MB with 1.89MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/icon-256x256.png16.81KB7.11KB▼ 57.70%
assets/icon-128x128.png9.40KB3.77KB▼ 59.92%
assets/screenshot-3.png1,230.48KB482.10KB▼ 60.82%
images/icon.png44.69KB17.23KB▼ 61.43%
assets/icon.png72.49KB32.80KB▼ 54.75%