Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲1.04MB] [CPU: ▲2.36ms] Passed 4 tests
Analyzing server-side resources used by Action Scheduler
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.53 ▲1.07 | 58.23 ▲18.06 |
Dashboard /wp-admin | 4.36 ▲1.01 | 56.97 ▼7.90 |
Posts /wp-admin/edit.php | 4.41 ▲1.05 | 57.33 ▲6.21 |
Add New Post /wp-admin/post-new.php | 6.94 ▲1.05 | 95.58 ▼0.86 |
Media Library /wp-admin/upload.php | 4.28 ▲1.05 | 48.92 ▲11.97 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 4.45 | 52.98 |
Server storage [IO: ▲0.49MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 99 new files
Database: 4 new tables, 9 new options
New tables |
---|
wp_actionscheduler_logs |
wp_actionscheduler_actions |
wp_actionscheduler_claims |
wp_actionscheduler_groups |
New WordPress options |
---|
can_compress_scripts |
schema-ActionScheduler_LoggerSchema |
widget_theysaidso_widget |
theysaidso_admin_options |
action_scheduler_hybrid_store_demarkation |
widget_recent-posts |
schema-ActionScheduler_StoreSchema |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Action Scheduler
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲47 | 14.25 ▼0.03 | 1.58 ▼0.03 | 41.07 ▲2.73 |
Dashboard /wp-admin | 2,199 ▲21 | 5.63 ▼0.03 | 93.52 ▼17.30 | 42.78 ▼1.93 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▼0.06 | 35.48 ▼6.49 | 33.89 ▼2.07 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.61 ▲0.33 | 703.13 ▲105.14 | 54.31 ▲6.83 |
Media Library /wp-admin/upload.php | 1,398 ▲4 | 4.22 ▲0.04 | 94.60 ▼3.21 | 42.36 ▲1.40 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,252 | 1.82 | 27.01 | 32.52 |
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
Please fix the following items
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_actionscheduler_claims
- wp_actionscheduler_actions
- wp_actionscheduler_logs
- wp_actionscheduler_groups
- Zombie WordPress options detected upon uninstall: 9 options
- schema-ActionScheduler_LoggerSchema
- db_upgraded
- action_scheduler_hybrid_store_demarkation
- widget_recent-comments
- schema-ActionScheduler_StoreSchema
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
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
Good news, no errors were detected
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
The following issues need your attention
- 43× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Action_Scheduler\\Migration\\ActionMigrator' not found in wp-content/plugins/action-scheduler/classes/migration/DryRun_ActionMigrator.php:15
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_AdminView_Deprecated' not found in wp-content/plugins/action-scheduler/classes/ActionScheduler_AdminView.php:7
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Action' not found in wp-content/plugins/action-scheduler/classes/actions/ActionScheduler_FinishedAction.php:6
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/action-scheduler/lib/cron-expression/CronExpression_DayOfWeekField.php:18
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/action-scheduler/lib/cron-expression/CronExpression_HoursField.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Clean_Command.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_SimpleSchedule' not found in wp-content/plugins/action-scheduler/classes/schedules/ActionScheduler_CanceledSchedule.php:6
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.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, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: cron, scheduler
action-scheduler/action-scheduler.php Passed 13 tests
The main PHP script in "Action Scheduler" version 3.7.0 is automatically included on every request by WordPress
57 characters long description:
A robust scheduling library for use in WordPress plugins.
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
There were no executable files found in this plugin7,195 lines of code in 94 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 91 | 1,759 | 5,653 | 7,100 |
Markdown | 2 | 37 | 0 | 90 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 11.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 80 | |
▷ Abstract classes | 15 | 18.75% |
▷ Concrete classes | 65 | 81.25% |
▷ Final classes | 0 | 0.00% |
Methods | 643 | |
▷ Static methods | 81 | 12.60% |
▷ Public methods | 472 | 73.41% |
▷ Protected methods | 139 | 21.62% |
▷ Private methods | 32 | 4.98% |
Functions | 29 | |
▷ Named functions | 18 | 62.07% |
▷ Anonymous functions | 11 | 37.93% |
Constants | 33 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 33 | 100.00% |
▷ Public constants | 33 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin