Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.29ms] Passed 4 tests
Server-side resources used by Hura Custom Cursors
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.19 ▼4.75 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.42 ▲0.12 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.54 ▼1.63 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.88 ▼1.64 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.92 ▼1.14 |
Custom Cursors /wp-admin/themes.php?page=hura-apps-custom-cursors-panel | 3.22 | 32.06 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 105 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Hura Custom Cursors
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.25 ▼1.44 | 1.70 ▲0.06 | 41.20 ▼1.26 |
Dashboard /wp-admin | 2,207 ▲19 | 5.84 ▲0.95 | 98.37 ▼41.09 | 42.40 ▼6.48 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.05 | 40.88 ▲5.48 | 33.63 ▲0.20 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 22.99 ▼0.12 | 639.11 ▲44.21 | 59.73 ▲11.60 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.18 ▼0.11 | 97.17 ▼2.83 | 43.79 ▲1.15 |
Custom Cursors /wp-admin/themes.php?page=hura-apps-custom-cursors-panel | 1,906 | 1.76 | 25.97 | 167.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hura-custom-cursors/HuraApps-Custom-Cursors.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #1 is missing in hura-custom-cursors/assets to your readme.txt
hura-custom-cursors/HuraApps-Custom-Cursors.php 92% from 13 tests
"Hura Custom Cursors" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("hura-custom-cursors.php" instead of "HuraApps-Custom-Cursors.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected131 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 7 | 131 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
100 PNG files occupy 0.43MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/cursors/hura-75.png | 1.68KB | 1.52KB | ▼ 9.92% |
images/cursors/hura-41.png | 2.57KB | 1.64KB | ▼ 36.01% |
images/cursors/hura-57.png | 2.04KB | 1.62KB | ▼ 20.58% |
images/cursors/hura-60.png | 2.30KB | 1.57KB | ▼ 31.81% |
images/cursors/hura-53.png | 2.25KB | 1.55KB | ▼ 31.05% |