90% get-url-cron

Code Review | Get URL Cron

WordPress plugin Get URL Cron scored90%from 54 tests.

About plugin

  • Plugin page: get-url-cron
  • Plugin version: 1.4.8
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.3
  • WordPress version: 6.3.1
  • First release: Nov 24, 2019
  • Latest release: Aug 10, 2023
  • Number of updates: 74
  • Update frequency: every 18.3 days
  • Top authors: berkux (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active /12,990 total downloads

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
Install script ran successfully

Server metrics [RAM: ▲0.33MB] [CPU: ▲16.96ms] Passed 4 tests

This is a short check of server-side resources used by Get URL Cron
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.75 ▲0.2961.06 ▲19.48
Dashboard /wp-admin3.64 ▲0.3469.31 ▲17.28
Posts /wp-admin/edit.php3.76 ▲0.4068.19 ▲18.79
Add New Post /wp-admin/post-new.php6.23 ▲0.34106.45 ▲12.27
Media Library /wp-admin/upload.php3.59 ▲0.3664.53 ▲30.10
Set CronJobs /wp-admin/admin.php?page=geturlcronsettingspage3.5555.14
Show Logs /wp-admin/admin.php?page=geturlcronlogslug3.5554.59
Basic Settings /wp-admin/admin.php?page=geturlcrondetailsettingslug3.5555.69
Show CronJobs /wp-admin/admin.php?page=geturlcronjobslistdslug3.5653.38

Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Get URL Cron: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,849 ▲8814.28 ▼0.091.95 ▲0.2237.85 ▼8.60
Dashboard /wp-admin2,227 ▲565.53 ▼0.0681.35 ▼6.3436.76 ▼0.57
Posts /wp-admin/edit.php2,135 ▲352.00 ▼0.0034.86 ▼1.2832.80 ▼4.39
Add New Post /wp-admin/post-new.php1,554 ▲2623.57 ▲0.42667.06 ▲10.6957.05 ▲2.93
Media Library /wp-admin/upload.php1,435 ▲354.21 ▲0.04107.18 ▼2.9346.27 ▼1.83
Set CronJobs /wp-admin/admin.php?page=geturlcronsettingspage3,5802.0024.8327.09
Show Logs /wp-admin/admin.php?page=geturlcronlogslug7712.1623.7023.55
Basic Settings /wp-admin/admin.php?page=geturlcrondetailsettingslug8991.9722.0327.74
Show CronJobs /wp-admin/admin.php?page=geturlcronjobslistdslug9242.1324.6224.52

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
Everything seems fine, however this is by no means an exhaustive test

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

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: wordpress, wp cron, cron, check, http...

get-url-cron/geturlcron.php 92% from 13 tests

The main PHP file in "Get URL Cron" ver. 1.4.8 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("get-url-cron.php" instead of "geturlcron.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,398 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP2136701,131
PO File1116118267

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity145.00
▷ Minimum class complexity145.00
▷ Maximum class complexity145.00
Average method complexity5.11
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods35
▷ Static methods38.57%
▷ Public methods1748.57%
▷ Protected methods12.86%
▷ Private methods1748.57%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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
There were not PNG files found in your plugin