Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲1.37MB] [CPU: ▲13.17ms] Passed 4 tests
An overview of server-side resources used by Spillt Recipe Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.85 ▲1.39 | 60.01 ▲19.54 |
Dashboard /wp-admin | 4.71 ▲1.40 | 62.42 ▲13.30 |
Posts /wp-admin/edit.php | 4.76 ▲1.40 | 68.97 ▲19.18 |
Add New Post /wp-admin/post-new.php | 7.25 ▲1.36 | 102.05 ▲0.66 |
Media Library /wp-admin/upload.php | 4.57 ▲1.34 | 56.66 ▲21.04 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 4.73 | 55.94 |
Spillt /wp-admin/admin.php?page=spillt-main | 4.55 | 48.05 |
Settings /wp-admin/admin.php?page=spillt-settings | 4.54 | 46.80 |
Server storage [IO: ▲0.55MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 118 new files
Database: 4 new tables, 11 new options
New tables |
---|
wp_actionscheduler_claims |
wp_actionscheduler_logs |
wp_actionscheduler_groups |
wp_actionscheduler_actions |
New WordPress options |
---|
spillt_activated |
schema-ActionScheduler_StoreSchema |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
schema-ActionScheduler_LoggerSchema |
can_compress_scripts |
action_scheduler_hybrid_store_demarkation |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Spillt Recipe Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,871 ▲114 | 13.25 ▼0.95 | 2.00 ▼0.26 | 42.91 ▲0.25 |
Dashboard /wp-admin | 2,277 ▲95 | 4.92 ▼0.93 | 114.90 ▲9.04 | 44.06 ▼1.03 |
Posts /wp-admin/edit.php | 2,160 ▲68 | 2.07 ▲0.06 | 42.13 ▼0.60 | 34.07 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,548 ▲6 | 23.01 ▲4.89 | 597.83 ▼20.30 | 65.00 ▲10.69 |
Media Library /wp-admin/upload.php | 1,463 ▲78 | 4.25 ▲0.07 | 96.47 ▼2.28 | 40.60 ▼5.53 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,308 | 2.25 | 33.47 | 33.29 |
Spillt /wp-admin/admin.php?page=spillt-main | 1,159 | 2.25 | 30.84 | 37.41 |
Settings /wp-admin/admin.php?page=spillt-settings | 936 | 2.11 | 27.87 | 29.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 4 tables
- wp_actionscheduler_groups
- wp_actionscheduler_logs
- wp_actionscheduler_claims
- wp_actionscheduler_actions
- This plugin did not uninstall successfully, leaving 11 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- schema-ActionScheduler_LoggerSchema
- widget_recent-posts
- spillt_activated
- action_scheduler_hybrid_store_demarkation
- schema-ActionScheduler_StoreSchema
- widget_recent-comments
- db_upgraded
- action_scheduler_lock_async-request-runner
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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 items
- 44× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/spillt-recipe-app/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/spillt-recipe-app/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php:10
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/spillt-recipe-app/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_MinutesField.php:8
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_DBStore' not found in wp-content/plugins/spillt-recipe-app/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schema' not found in wp-content/plugins/spillt-recipe-app/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_LoggerSchema.php:10
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/spillt-recipe-app/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_YearField.php:8
- > PHP Fatal error
Uncaught Error: Interface 'ActionScheduler_Exception' not found in wp-content/plugins/spillt-recipe-app/vendor/woocommerce/action-scheduler/classes/ActionScheduler_InvalidActionException.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_FinishedAction' not found in wp-content/plugins/spillt-recipe-app/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_CanceledAction.php:9
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/spillt-recipe-app/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfWeekField.php:18
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/spillt-recipe-app/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_HoursField.php:8
- > 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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
2 plugin tags: spillt, spillt-app
spillt-recipe-app/spillt.php 77% from 13 tests
The principal PHP file in "Spillt Recipe Plugin" v. 1.0.28 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 192 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("spillt-recipe-app.php" instead of "spillt.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Everything looks great! No dangerous files found in this plugin8,608 lines of code in 108 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 100 | 2,028 | 5,562 | 8,081 |
JavaScript | 2 | 14 | 7 | 274 |
CSS | 1 | 3 | 0 | 108 |
Markdown | 3 | 37 | 0 | 91 |
JSON | 2 | 0 | 0 | 54 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 12.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 88 | |
▷ Abstract classes | 15 | 17.05% |
▷ Concrete classes | 73 | 82.95% |
▷ Final classes | 0 | 0.00% |
Methods | 709 | |
▷ Static methods | 160 | 22.57% |
▷ Public methods | 544 | 76.73% |
▷ Protected methods | 136 | 19.18% |
▷ Private methods | 29 | 4.09% |
Functions | 33 | |
▷ Named functions | 19 | 57.58% |
▷ Anonymous functions | 14 | 42.42% |
Constants | 45 | |
▷ Global constants | 9 | 20.00% |
▷ Class constants | 36 | 80.00% |
▷ Public constants | 36 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/check-mark.png | 0.36KB | 0.37KB | 0.00% |
assets/img/x-mark.png | 0.24KB | 0.25KB | 0.00% |