Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼13.96ms] Passed 4 tests
This is a short check of server-side resources used by Subscriptions & Recurring Payments for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 42.96 ▲0.59 |
Dashboard /wp-admin | 3.40 ▲0.09 | 35.65 ▼9.57 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 39.12 ▼21.27 |
Add New Post /wp-admin/post-new.php | 5.64 ▼0.25 | 78.43 ▼25.46 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 34.33 ▲0.45 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 3.59 | 32.19 |
Server storage [IO: ▲3.39MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 378 new files
Database: 4 new tables, 10 new options
New tables |
---|
wp_actionscheduler_actions |
wp_actionscheduler_logs |
wp_actionscheduler_claims |
wp_actionscheduler_groups |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
action_scheduler_lock_async-request-runner |
widget_theysaidso_widget |
db_upgraded |
schema-ActionScheduler_StoreSchema |
widget_recent-comments |
action_scheduler_hybrid_store_demarkation |
can_compress_scripts |
schema-ActionScheduler_LoggerSchema |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Subscriptions & Recurring Payments for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 13.24 ▼1.13 | 1.69 ▼0.55 | 44.12 ▼0.79 |
Dashboard /wp-admin | 2,214 ▲23 | 4.85 ▼0.05 | 107.00 ▲1.50 | 43.43 ▼0.97 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.00 ▼0.05 | 39.15 ▼1.01 | 37.27 ▲3.58 |
Add New Post /wp-admin/post-new.php | 1,556 ▲20 | 23.29 ▲0.16 | 640.39 ▼45.16 | 62.58 ▲12.53 |
Media Library /wp-admin/upload.php | 1,402 ▲17 | 4.19 ▼0.06 | 97.02 ▼11.16 | 42.76 ▼6.45 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,209 | 1.82 | 27.47 | 27.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_actionscheduler_groups
- wp_actionscheduler_claims
- wp_actionscheduler_logs
- wp_actionscheduler_actions
- This plugin does not fully uninstall, leaving 10 options in the database
- action_scheduler_hybrid_store_demarkation
- can_compress_scripts
- schema-ActionScheduler_StoreSchema
- widget_theysaidso_widget
- action_scheduler_lock_async-request-runner
- widget_recent-comments
- schema-ActionScheduler_LoggerSchema
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/tools.php?page=action-scheduler
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method AWC_Backend::awc_notice_need_woocommerce() should not be called statically
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 take a closer look at the following
- 54× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WC_Order' not found in wp-content/plugins/subscriptions-recurring-payments-for-woocommerce/inc/classes/class-awc-subscription.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/subscriptions-recurring-payments-for-woocommerce/inc/libraries/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php:15
- > PHP Fatal error
Uncaught Error: Class 'Action_Scheduler\\Migration\\LogMigrator' not found in wp-content/plugins/subscriptions-recurring-payments-for-woocommerce/inc/libraries/action-scheduler/classes/migration/DryRun_LogMigrator.php:13
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/subscriptions-recurring-payments-for-woocommerce/inc/libraries/action-scheduler/classes/abstracts/ActionScheduler_Abstract_RecurringSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_ListTable' not found in wp-content/plugins/subscriptions-recurring-payments-for-woocommerce/inc/libraries/action-scheduler/classes/ActionScheduler_ListTable.php:7
- > PHP Fatal error
Uncaught Error: Interface 'ActionScheduler_Schedule' not found in wp-content/plugins/subscriptions-recurring-payments-for-woocommerce/inc/libraries/action-scheduler/deprecated/ActionScheduler_Schedule_Deprecated.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Logger' not found in wp-content/plugins/subscriptions-recurring-payments-for-woocommerce/inc/libraries/action-scheduler/classes/data-stores/ActionScheduler_DBLogger.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_RecurringSchedule' not found in wp-content/plugins/subscriptions-recurring-payments-for-woocommerce/inc/libraries/action-scheduler/classes/schedules/ActionScheduler_CronSchedule.php:6
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/subscriptions-recurring-payments-for-woocommerce/inc/libraries/action-scheduler/lib/cron-expression/CronExpression_MonthField.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/subscriptions-recurring-payments-for-woocommerce/inc/libraries/action-scheduler/classes/WP_CLI/Migration_Command.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: ""
subscriptions-recurring-payments-for-woocommerce/aco-woo-subscriptions.php 85% from 13 tests
"Subscriptions & Recurring Payments for WooCommerce" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 275 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("subscriptions-recurring-payments-for-woocommerce.php" instead of "aco-woo-subscriptions.php")
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
There were no executable files found in this plugin45,598 lines of code in 373 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 329 | 14,656 | 23,937 | 42,543 |
JavaScript | 19 | 467 | 327 | 2,207 |
CSS | 8 | 52 | 15 | 409 |
PO File | 1 | 139 | 151 | 326 |
SVG | 16 | 0 | 0 | 113 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 26.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 391.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 92.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 264 | |
▷ Abstract classes | 30 | 11.36% |
▷ Concrete classes | 234 | 88.64% |
▷ Final classes | 1 | 0.43% |
Methods | 2,739 | |
▷ Static methods | 1,039 | 37.93% |
▷ Public methods | 2,276 | 83.10% |
▷ Protected methods | 399 | 14.57% |
▷ Private methods | 64 | 2.34% |
Functions | 223 | |
▷ Named functions | 211 | 94.62% |
▷ Anonymous functions | 12 | 5.38% |
Constants | 139 | |
▷ Global constants | 12 | 8.63% |
▷ Class constants | 127 | 91.37% |
▷ Public constants | 127 | 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 are no PNG files in this plugin