100% animated-mouse-cursor-trail

Code Review | Animated Mouse Cursor Trail

WordPress plugin Animated Mouse Cursor Trail scored 100% from 54 tests.

About plugin

  • Plugin page: animated-mouse-cu...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.8
  • WordPress version: 5.8.1
  • First release: Aug 3, 2018
  • Latest release: Sep 17, 2021
  • Number of updates: 31
  • Update frequency: every 36.8 days
  • Top authors: tawhidurrahmandear (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active / 4,473 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by Animated Mouse Cursor Trail
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1231.04 ▲8.99
Dashboard /wp-admin3.07 ▲0.0142.23 ▼2.12
Posts /wp-admin/edit.php3.12 ▲0.0145.14 ▼0.04
Add New Post /wp-admin/post-new.php5.44 ▲0.0093.96 ▼549.98
Media Library /wp-admin/upload.php3.02 ▲0.0031.43 ▼9.57

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Animated Mouse Cursor Trail
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,106 ▲51016.08 ▲0.4814.29 ▲5.0059.71 ▲8.56
Dashboard /wp-admin2,973 ▲436.13 ▲0.15136.15 ▼9.02113.07 ▼7.99
Posts /wp-admin/edit.php2,736 ▼32.71 ▲0.0062.04 ▼1.8195.74 ▲2.21
Add New Post /wp-admin/post-new.php1,672 ▼20019.03 ▼0.20380.42 ▲14.41104.33 ▼6.26
Media Library /wp-admin/upload.php1,807 ▼35.05 ▲0.04145.66 ▼8.61113.26 ▼13.80

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
The SRP test was a success

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)
No browser errors were detected


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: mouse trail, cursor, mouse, mouse cursor, trail

animated-mouse-cursor-trail/animated-mouse-cursor-trail.php Passed 13 tests

The main PHP script in "Animated Mouse Cursor Trail" version 1.0 is automatically included on every request by 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 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin166 lines of code in 1 file:
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.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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin