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 gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼4.27ms] Passed 4 tests
This is a short check of server-side resources used by WP Custom Cursors | WordPress Cursor Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 42.92 ▲6.45 |
Dashboard /wp-admin | 3.47 ▲0.12 | 48.12 ▼11.02 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 44.94 ▼4.17 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 84.10 ▼6.94 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.47 ▲5.05 |
Add New Cursor /wp-admin/admin.php?page=wpcc_add_new | 3.73 | 38.30 |
Tutorials /wp-admin/admin.php?page=wpcc_tuts | 3.36 | 32.43 |
Custom Cursor /wp-admin/admin.php?page=wp_custom_cursors | 3.36 | 41.08 |
Cursor Maker /wp-admin/admin.php?page=wpcc_cursor_maker | 3.86 | 33.24 |
Server storage [IO: ▲6.75MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 81 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_created_cursors |
wp_added_cursors |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
WP Custom Cursors | WordPress Cursor Plugin: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲141 | 13.33 ▼1.05 | 6.19 ▲4.46 | 43.64 ▲4.21 |
Dashboard /wp-admin | 2,286 ▲97 | 4.88 ▼0.02 | 104.10 ▼16.49 | 38.95 ▼9.13 |
Posts /wp-admin/edit.php | 2,172 ▲83 | 2.03 ▼0.03 | 35.87 ▼4.69 | 31.78 ▼3.21 |
Add New Post /wp-admin/post-new.php | 1,561 ▲42 | 23.13 ▼0.01 | 667.73 ▲57.26 | 59.37 ▲4.35 |
Media Library /wp-admin/upload.php | 1,469 ▲81 | 4.29 ▲0.10 | 97.56 ▲0.49 | 41.65 ▼2.39 |
Add New Cursor /wp-admin/admin.php?page=wpcc_add_new | 3,746 | 4.96 | 78.84 | 129.83 |
Tutorials /wp-admin/admin.php?page=wpcc_tuts | 1,514 | 9.37 | 275.68 | 62.12 |
Custom Cursor /wp-admin/admin.php?page=wp_custom_cursors | 1,154 | 2.02 | 23.91 | 35.11 |
Cursor Maker /wp-admin/admin.php?page=wpcc_cursor_maker | 6,162 | 5.25 | 102.19 | 68.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=wpcc_cursor_maker
- > Notice in wp-content/plugins/wp-custom-cursors/admin/partials/wp-custom-cursors-cursor-maker.php+917
Undefined variable: cursor_options_value
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-custom-cursors/admin/partials/wp-custom-cursors-add-new.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/wp-custom-cursors/wp-custom-cursors.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/wp-custom-cursors/admin/partials/wp-custom-cursors-tuts.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-custom-cursors/admin/partials/wp-custom-cursors-activation.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/wp-custom-cursors/admin/partials/wp-custom-cursors-cursor-maker.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-custom-cursors/admin/partials/wp-custom-cursors-header.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=wpcc_tuts
- > Other (warning) in unknown
/wp-admin/admin.php?page=wpcc_tuts 175 Unrecognized feature: 'web-share'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #4 (Plugin Options), #5 (Plugin Options), #6 (Plugin Options), #7 (Plugin Options), #8 (Plugin Options), #9 (Plugin Options), #10 (Plugin Options)
wp-custom-cursors/wp-custom-cursors.php 92% from 13 tests
The main file in "WP Custom Cursors | WordPress Cursor Plugin" v. 3.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin30,857 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 35 | 4 | 40 | 18,575 |
CSS | 5 | 94 | 143 | 4,268 |
PHP | 15 | 435 | 348 | 2,311 |
LESS | 1 | 4 | 10 | 2,305 |
Sass | 2 | 201 | 0 | 2,222 |
JavaScript | 8 | 189 | 116 | 1,175 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 10.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 3.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There are no PNG files in this plugin