83% ultimate-cursor

Code Review | Ultimate Cursor Addons for Elementor

WordPress plugin Ultimate Cursor Addons for Elementor scored83%from 54 tests.

About plugin

  • Plugin page: ultimate-cursor
  • Plugin version: 1.2.0
  • PHP compatiblity: 7.0.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Aug 12, 2022
  • Latest release: Oct 8, 2023
  • Number of updates: 11
  • Update frequency: every 38.6 days
  • Top authors: addonium (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /1,080 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0240.82 ▲1.36
Dashboard /wp-admin3.31 ▲0.0149.91 ▼3.56
Posts /wp-admin/edit.php3.37 ▲0.0147.18 ▼2.24
Add New Post /wp-admin/post-new.php5.90 ▲0.0190.89 ▼6.24
Media Library /wp-admin/upload.php3.24 ▲0.0138.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲4514.31 ▼0.251.58 ▼0.2841.09 ▼1.79
Dashboard /wp-admin2,212 ▲385.65 ▼0.0390.35 ▲0.1338.36 ▼8.78
Posts /wp-admin/edit.php2,117 ▲172.03 ▼0.0040.62 ▲4.0637.61 ▲4.20
Add New Post /wp-admin/post-new.php1,538 ▲717.68 ▼5.40694.03 ▼15.3764.61 ▲6.65
Media Library /wp-admin/upload.php1,420 ▲204.29 ▲0.08108.48 ▼1.3547.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

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
You can take inspiration from this 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:
LanguageFilesBlank linesComment linesLines of code
PHP23122481
JavaScript3483452
CSS116098

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 code0.17
Average class complexity6.50
▷ Minimum class complexity5.00
▷ Maximum class complexity8.00
Average method complexity2.10
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
Methods10
▷ Static methods110.00%
▷ Public methods10100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants457.14%
▷ Class constants342.86%
▷ Public constants3100.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