Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲1.27MB] [CPU: ▲11.50ms] Passed 4 tests
Analyzing server-side resources used by Advanced Cron Scheduler for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.75 ▲1.28 | 55.22 ▲14.23 |
Dashboard /wp-admin | 4.58 ▲1.27 | 62.08 ▲10.06 |
Posts /wp-admin/edit.php | 4.63 ▲1.27 | 63.06 ▲16.85 |
Add New Post /wp-admin/post-new.php | 7.16 ▲1.27 | 97.77 ▲4.85 |
Media Library /wp-admin/upload.php | 4.50 ▲1.27 | 55.05 ▲19.42 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 4.66 | 55.16 |
Server storage [IO: ▲0.58MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 117 new files
Database: 4 new tables, 11 new options
New tables |
---|
wp_actionscheduler_actions |
wp_actionscheduler_logs |
wp_actionscheduler_groups |
wp_actionscheduler_claims |
New WordPress options |
---|
schema-ActionScheduler_LoggerSchema |
action_scheduler_lock_async-request-runner |
can_compress_scripts |
widget_recent-posts |
schema-ActionScheduler_StoreSchema |
theysaidso_admin_options |
widget_theysaidso_widget |
acswp_plugin_installed_time |
db_upgraded |
action_scheduler_hybrid_store_demarkation |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Cron Scheduler for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲82 | 13.28 ▼1.02 | 2.04 ▲0.01 | 43.34 ▼0.10 |
Dashboard /wp-admin | 2,210 ▲21 | 4.86 ▼0.09 | 111.83 ▼8.18 | 41.61 ▼3.49 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.01 ▼0.12 | 37.21 ▲0.63 | 37.56 ▲4.06 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 18.27 ▼0.15 | 662.93 ▼3.09 | 52.83 ▼1.58 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▼0.01 | 96.08 ▼12.59 | 42.62 ▼3.15 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,241 | 1.81 | 27.48 | 28.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure failed, leaving 4 tables in the database
- wp_actionscheduler_groups
- wp_actionscheduler_logs
- wp_actionscheduler_actions
- wp_actionscheduler_claims
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_recent-comments
- theysaidso_admin_options
- action_scheduler_hybrid_store_demarkation
- schema-ActionScheduler_LoggerSchema
- widget_theysaidso_widget
- schema-ActionScheduler_StoreSchema
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- action_scheduler_lock_async-request-runner
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 43× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/migrate-wp-cron-to-action-scheduler/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Clean_Command.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/migrate-wp-cron-to-action-scheduler/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/migrate-wp-cron-to-action-scheduler/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfWeekField.php:18
- > PHP Fatal error
Uncaught Error: Interface 'ActionScheduler_Schedule' not found in wp-content/plugins/migrate-wp-cron-to-action-scheduler/vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_Schedule_Deprecated.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/migrate-wp-cron-to-action-scheduler/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_RecurringSchedule' not found in wp-content/plugins/migrate-wp-cron-to-action-scheduler/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_IntervalSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_SimpleSchedule' not found in wp-content/plugins/migrate-wp-cron-to-action-scheduler/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_CanceledSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schema' not found in wp-content/plugins/migrate-wp-cron-to-action-scheduler/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Schedule_Deprecated' not found in wp-content/plugins/migrate-wp-cron-to-action-scheduler/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_Schedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/migrate-wp-cron-to-action-scheduler/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: cron, debug, cron manager, wp cron, scheduler
migrate-wp-cron-to-action-scheduler/migrate-wp-cron-to-action-scheduler.php Passed 13 tests
The entry point to "Advanced Cron Scheduler for WordPress" version 1.1.0 is a PHP file that has certain tags in its header comment area
124 characters long description:
The Advanced Cron Scheduler plugin helps to easily replace or migrate Native WordPress Cron to the Action Scheduler Library.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected7,969 lines of code in 111 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 110 | 2,004 | 6,359 | 7,920 |
JSON | 1 | 0 | 0 | 49 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 11.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 3 | |
Traits | 3 | |
Classes | 92 | |
▷ Abstract classes | 15 | 16.30% |
▷ Concrete classes | 77 | 83.70% |
▷ Final classes | 2 | 2.60% |
Methods | 708 | |
▷ Static methods | 87 | 12.29% |
▷ Public methods | 510 | 72.03% |
▷ Protected methods | 159 | 22.46% |
▷ Private methods | 39 | 5.51% |
Functions | 33 | |
▷ Named functions | 19 | 57.58% |
▷ Anonymous functions | 14 | 42.42% |
Constants | 38 | |
▷ Global constants | 5 | 13.16% |
▷ Class constants | 33 | 86.84% |
▷ Public constants | 33 | 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
There are no PNG files in this plugin