Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.67ms] Passed 4 tests
This is a short check of server-side resources used by Ultimate Cursor Addons for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.82 ▲1.36 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.91 ▼3.56 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.18 ▼2.24 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.89 ▼6.24 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.77 ▲3.23 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Cursor Addons for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.31 ▼0.25 | 1.58 ▼0.28 | 41.09 ▼1.79 |
Dashboard /wp-admin | 2,212 ▲38 | 5.65 ▼0.03 | 90.35 ▲0.13 | 38.36 ▼8.78 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 2.03 ▼0.00 | 40.62 ▲4.06 | 37.61 ▲4.20 |
Add New Post /wp-admin/post-new.php | 1,538 ▲7 | 17.68 ▼5.40 | 694.03 ▼15.37 | 64.61 ▲6.65 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.29 ▲0.08 | 108.48 ▼1.35 | 47.39 ▼0.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function UltimateCursor\\__() in wp-content/plugins/ultimate-cursor/ultimate-cursor.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5 in ultimate-cursor/assets to your readme.txt
ultimate-cursor/ultimate-cursor.php 85% from 13 tests
Analyzing the main PHP file in "Ultimate Cursor Addons for Elementor" version 1.2.0
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 267 characters long)
- Requires at least: The required version number must match the one declared in readme.txt ("5.0.0" instead of "3.0.0")
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
No dangerous file extensions were detected1,031 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 31 | 22 | 481 |
JavaScript | 3 | 48 | 3 | 452 |
CSS | 1 | 16 | 0 | 98 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 10 | 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 | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin