Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.19ms] Passed 4 tests
An overview of server-side resources used by Cronjob Scheduler
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 37.51 ▼14.42 |
Dashboard /wp-admin | 3.40 ▲0.09 | 48.18 ▲0.51 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 48.58 ▲1.15 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 94.93 ▲2.96 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.76 ▲0.02 |
Cronjob Scheduler /wp-admin/options-general.php?page=cronjob_scheduler | 3.30 | 41.39 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Cronjob Scheduler
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.14 ▼1.13 | 1.64 ▼0.20 | 50.31 ▲7.75 |
Dashboard /wp-admin | 2,210 ▲25 | 5.85 ▼0.01 | 105.15 ▼13.65 | 42.47 ▲0.81 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.97 ▼0.04 | 53.14 ▲14.91 | 37.07 ▲2.86 |
Add New Post /wp-admin/post-new.php | 1,538 ▲19 | 23.18 ▼0.04 | 672.26 ▲7.40 | 52.39 ▼24.68 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▲0.01 | 99.89 ▼5.94 | 45.14 ▲0.19 |
Cronjob Scheduler /wp-admin/options-general.php?page=cronjob_scheduler | 971 | 2.03 | 32.41 | 42.63 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cronjob_scheduler
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cronjob_scheduler
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 16 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cronjob_scheduler
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cronjob_scheduler
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/cronjob-scheduler/views/right_column.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cronjob-scheduler/lib/cronjobs.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/cronjob-scheduler/views/plugin_misconfigured.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cronjob-scheduler/cronjobs.php:16
- > PHP Fatal error
Uncaught Error: Class 'chrispage1\\lib\\Commons' not found in wp-content/plugins/cronjob-scheduler/lib/CronjobScheduler.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cronjob-scheduler/cronjobs.php:16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/cronjob-scheduler/views/admin_page.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
5 plugin tags: scheduler, task, cronjob, cron, automation
cronjob-scheduler/cronjob-scheduler.php Passed 13 tests
Analyzing the main PHP file in "Cronjob Scheduler" version 1.40.1
58 characters long description:
Plugin to manage, edit and remove WordPress cron job tasks
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected634 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 234 | 341 | 634 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 1 | 50.00% |
▷ Concrete classes | 1 | 50.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 90.32% |
▷ Protected methods | 1 | 3.23% |
▷ Private methods | 2 | 6.45% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin