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.17MB] [CPU: ▲8.39ms] Passed 4 tests
An overview of server-side resources used by Email Notifications For WP ULike
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.64 ▲1.18 | 51.94 ▲7.48 |
Dashboard /wp-admin | 4.47 ▲1.16 | 64.62 ▲15.79 |
Posts /wp-admin/edit.php | 4.58 ▲1.22 | 64.20 ▲11.27 |
Add New Post /wp-admin/post-new.php | 7.05 ▲1.16 | 106.13 ▲3.06 |
Media Library /wp-admin/upload.php | 4.39 ▲1.16 | 54.46 ▲11.74 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 4.53 | 59.55 |
Server storage [IO: ▲0.45MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 111 new files
Database: 4 new tables, 10 new options
New tables |
---|
wp_actionscheduler_actions |
wp_actionscheduler_logs |
wp_actionscheduler_groups |
wp_actionscheduler_claims |
New WordPress options |
---|
schema-ActionScheduler_StoreSchema |
widget_theysaidso_widget |
action_scheduler_lock_async-request-runner |
action_scheduler_hybrid_store_demarkation |
db_upgraded |
schema-ActionScheduler_LoggerSchema |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Email Notifications For WP ULike
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.22 ▼1.08 | 1.86 ▼0.10 | 42.12 ▼6.67 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼1.02 | 103.66 ▼2.56 | 39.03 ▼3.59 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.06 ▲0.00 | 40.16 ▼1.51 | 34.57 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 23.23 ▲5.55 | 622.25 ▼67.52 | 65.31 ▲1.72 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.18 ▲0.05 | 97.32 ▼22.06 | 45.01 ▼10.11 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,199 | 1.84 | 26.78 | 30.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_actionscheduler_groups
- wp_actionscheduler_claims
- wp_actionscheduler_actions
- wp_actionscheduler_logs
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_recent-comments
- db_upgraded
- schema-ActionScheduler_StoreSchema
- theysaidso_admin_options
- action_scheduler_hybrid_store_demarkation
- action_scheduler_lock_async-request-runner
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- schema-ActionScheduler_LoggerSchema
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 everything seems fine, this is not 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
The following issues need your attention
- 42× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_DBStore' not found in wp-content/plugins/email-notifications-for-wp-ulike/vendor/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/email-notifications-for-wp-ulike/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:10
- > PHP Fatal error
Uncaught Error: Interface 'ActionScheduler_Schedule' not found in wp-content/plugins/email-notifications-for-wp-ulike/vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_Schedule_Deprecated.php:6
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/email-notifications-for-wp-ulike/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php:21
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_LogEntry' not found in wp-content/plugins/email-notifications-for-wp-ulike/vendor/woocommerce/action-scheduler/classes/ActionScheduler_NullLogEntry.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/email-notifications-for-wp-ulike/vendor/woocommerce/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/email-notifications-for-wp-ulike/vendor/woocommerce/action-scheduler/classes/WP_CLI/Migration_Command.php:22
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/email-notifications-for-wp-ulike/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/email-notifications-for-wp-ulike/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/email-notifications-for-wp-ulike/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_HoursField.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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
3 plugin tags: emails, wp-ulike, wp ulike
email-notifications-for-wp-ulike/email-notifications-for-wp-ulike.php Passed 13 tests
The entry point to "Email Notifications For WP ULike" version 1.4.0 is a PHP file that has certain tags in its header comment area
70 characters long description:
Sends email notification whenever you got a like on a post or comment.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin6,891 lines of code in 100 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 99 | 1,754 | 4,882 | 6,728 |
JSON | 1 | 0 | 0 | 163 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 10.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 85 | |
▷ Abstract classes | 15 | 17.65% |
▷ Concrete classes | 70 | 82.35% |
▷ Final classes | 1 | 1.43% |
Methods | 621 | |
▷ Static methods | 74 | 11.92% |
▷ Public methods | 470 | 75.68% |
▷ Protected methods | 132 | 21.26% |
▷ Private methods | 19 | 3.06% |
Functions | 32 | |
▷ Named functions | 23 | 71.88% |
▷ Anonymous functions | 9 | 28.12% |
Constants | 36 | |
▷ Global constants | 2 | 5.56% |
▷ Class constants | 34 | 94.44% |
▷ Public constants | 34 | 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