Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.12 | 31.04 ▲8.99 |
Dashboard /wp-admin | 3.07 ▲0.01 | 42.23 ▼2.12 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 45.14 ▼0.04 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 93.96 ▼549.98 |
Media Library /wp-admin/upload.php | 3.02 ▲0.00 | 31.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,106 ▲510 | 16.08 ▲0.48 | 14.29 ▲5.00 | 59.71 ▲8.56 |
Dashboard /wp-admin | 2,973 ▲43 | 6.13 ▲0.15 | 136.15 ▼9.02 | 113.07 ▼7.99 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.71 ▲0.00 | 62.04 ▼1.81 | 95.74 ▲2.21 |
Add New Post /wp-admin/post-new.php | 1,672 ▼200 | 19.03 ▼0.20 | 380.42 ▲14.41 | 104.33 ▼6.26 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.05 ▲0.04 | 145.66 ▼8.61 | 113.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
Optimizations
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 19 | 166 |
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 code | 0.50 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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