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.08MB] [CPU: ▲6.06ms] Passed 4 tests
A check of server-side resources used by Come Back!
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.57 ▲1.11 | 57.53 ▲14.85 |
Dashboard /wp-admin | 4.39 ▲1.05 | 64.59 ▲3.93 |
Posts /wp-admin/edit.php | 4.50 ▲1.15 | 59.83 ▲15.49 |
Add New Post /wp-admin/post-new.php | 6.97 ▲1.09 | 95.36 ▼9.44 |
Media Library /wp-admin/upload.php | 4.32 ▲1.09 | 52.77 ▲14.91 |
Come Back! /wp-admin/options-general.php?page=come-back | 4.32 | 51.46 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 4.46 | 55.92 |
Server storage [IO: ▲0.44MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 103 new files
Database: 4 new tables, 11 new options
New tables |
---|
wp_actionscheduler_logs |
wp_actionscheduler_groups |
wp_actionscheduler_claims |
wp_actionscheduler_actions |
New WordPress options |
---|
come_back_activation_date |
can_compress_scripts |
action_scheduler_lock_async-request-runner |
widget_theysaidso_widget |
action_scheduler_hybrid_store_demarkation |
db_upgraded |
theysaidso_admin_options |
schema-ActionScheduler_StoreSchema |
widget_recent-posts |
schema-ActionScheduler_LoggerSchema |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Come Back!
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲51 | 14.42 ▲0.15 | 1.77 ▲0.16 | 42.63 ▼3.89 |
Dashboard /wp-admin | 2,203 ▲23 | 5.55 ▼0.03 | 83.65 ▼16.83 | 37.59 ▼4.82 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.98 ▼0.04 | 35.99 ▼1.48 | 35.78 ▲1.42 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.00 ▼0.16 | 691.21 ▲10.77 | 51.64 ▼12.95 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.28 ▲0.20 | 104.83 ▲0.26 | 48.33 ▲0.31 |
Come Back! /wp-admin/options-general.php?page=come-back | 1,408 | 5.99 | 126.39 | 65.70 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,267 | 1.82 | 25.18 | 30.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure failed, leaving 4 tables in the database
- wp_actionscheduler_actions
- wp_actionscheduler_claims
- wp_actionscheduler_logs
- wp_actionscheduler_groups
- The uninstall procedure has failed, leaving 10 options in the database
- action_scheduler_lock_async-request-runner
- action_scheduler_hybrid_store_demarkation
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- schema-ActionScheduler_LoggerSchema
- can_compress_scripts
- schema-ActionScheduler_StoreSchema
- widget_recent-posts
- theysaidso_admin_options
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 43× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Lock' not found in wp-content/plugins/come-back/wp-content/plugins/action-scheduler/classes/ActionScheduler_OptionLock.php:10
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/come-back/wp-content/plugins/action-scheduler/lib/cron-expression/CronExpression_DayOfWeekField.php:18
- > PHP Fatal error
Uncaught Error: Class 'Action_Scheduler\\Migration\\ActionMigrator' not found in wp-content/plugins/come-back/wp-content/plugins/action-scheduler/classes/migration/DryRun_ActionMigrator.php:15
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner_Deprecated' not found in wp-content/plugins/come-back/wp-content/plugins/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Logger' not found in wp-content/plugins/come-back/wp-content/plugins/action-scheduler/classes/data-stores/ActionScheduler_wpCommentLogger.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/come-back/wp-content/plugins/action-scheduler/classes/ActionScheduler_QueueRunner.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/come-back/wp-content/plugins/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Interface 'ActionScheduler_Schedule' not found in wp-content/plugins/come-back/wp-content/plugins/action-scheduler/deprecated/ActionScheduler_Schedule_Deprecated.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_RecurringSchedule' not found in wp-content/plugins/come-back/wp-content/plugins/action-scheduler/classes/schedules/ActionScheduler_IntervalSchedule.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/come-back/wp-content/plugins/action-scheduler/action-scheduler.php:32
- > 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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: inactive, idle-users, notification
come-back/come-back.php Passed 13 tests
This is the main PHP file of "Come Back!" version 1.3.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
47 characters long description:
Sends email notification to inactive customers.
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 plugin6,633 lines of code in 98 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 94 | 1,635 | 4,619 | 6,353 |
JSON | 1 | 0 | 0 | 163 |
Markdown | 2 | 37 | 0 | 90 |
JavaScript | 1 | 13 | 1 | 27 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 10.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 81 | |
▷ Abstract classes | 15 | 18.52% |
▷ Concrete classes | 66 | 81.48% |
▷ Final classes | 1 | 1.52% |
Methods | 606 | |
▷ Static methods | 66 | 10.89% |
▷ Public methods | 455 | 75.08% |
▷ Protected methods | 132 | 21.78% |
▷ Private methods | 19 | 3.14% |
Functions | 28 | |
▷ Named functions | 20 | 71.43% |
▷ Anonymous functions | 8 | 28.57% |
Constants | 34 | |
▷ Global constants | 1 | 2.94% |
▷ Class constants | 33 | 97.06% |
▷ 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
No PNG images were found in this plugin