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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.42ms] Passed 4 tests
This is a short check of server-side resources used by WP Mouse Custom Cursor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.32 ▲1.71 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.13 ▼13.13 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.03 ▲3.20 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.81 ▼6.29 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.32 ▼3.97 |
Server storage [IO: ▲6.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Mouse Custom Cursor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲118 | 13.82 ▼0.92 | 5.67 ▲3.75 | 41.01 ▲0.61 |
Dashboard /wp-admin | 2,206 ▲26 | 5.91 ▲0.96 | 107.08 ▼5.34 | 42.37 ▼2.23 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.04 | 39.11 ▲5.24 | 33.66 ▼3.32 |
Add New Post /wp-admin/post-new.php | 1,542 ▲22 | 18.40 ▼4.72 | 589.86 ▼50.16 | 50.56 ▼4.50 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.40 ▲0.20 | 106.29 ▲6.99 | 42.31 ▼3.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 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: wordpress mouse cursor, cursor, ball, wp mouse cursor, mouse cursor for wp...
wp-mouse-custom-cursor/wp-mouse-custom-cursor.php 92% from 13 tests
"WP Mouse Custom Cursor" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 186 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin269 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 19 | 45 | 266 |
JavaScript | 1 | 0 | 1 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 9 | |
▷ Named functions | 9 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 5.92MB with 4.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 1,010.00KB | 299.42KB | ▼ 70.35% |
screenshot-5.png | 1,009.61KB | 297.58KB | ▼ 70.52% |
screenshot-6.png | 1,009.54KB | 300.81KB | ▼ 70.20% |
screenshot-2.png | 1,010.09KB | 303.72KB | ▼ 69.93% |
screenshot-3.png | 1,009.56KB | 300.95KB | ▼ 70.19% |