Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.89ms] Passed 4 tests
This is a short check of server-side resources used by Order Message Notification
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 37.33 ▼2.30 |
Dashboard /wp-admin | 3.36 ▲0.05 | 46.60 ▼2.04 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.56 ▲4.36 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.48 ▼10.58 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.64 ▼0.62 |
Sobre Daniel Esparza /wp-admin/admin.php?page=desparza-menu | 3.25 | 31.40 |
Order Message Notification /wp-admin/admin.php?page=dewp-omn-admin-settings | 3.22 | 30.88 |
Server storage [IO: ▲7.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 1,758 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Order Message Notification
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.33 ▼1.04 | 4.44 ▲2.70 | 41.00 ▼6.42 |
Dashboard /wp-admin | 2,231 ▲43 | 4.85 ▼1.02 | 107.07 ▼10.18 | 52.04 ▲4.56 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.02 ▲0.05 | 39.81 ▲5.70 | 37.79 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,558 ▲25 | 18.39 ▲0.01 | 623.08 ▲2.83 | 61.43 ▲11.36 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.20 ▼0.03 | 94.73 ▼0.34 | 44.13 ▲1.09 |
Sobre Daniel Esparza /wp-admin/admin.php?page=desparza-menu | 802 | 2.03 | 23.56 | 28.82 |
Order Message Notification /wp-admin/admin.php?page=dewp-omn-admin-settings | 909 | 2.06 | 24.77 | 27.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dewp-omn-admin-settings
- > Notice in wp-content/plugins/order-message-notification/includes/order-message-notification-admin.php+128
Trying to access array offset on value of type bool
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/order-message-notification/order-message-notification.php
- 1716× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/order-message-notification/includes/twilio-php-master/src/Twilio/Rest/Preview/Sync/Service/SyncMap/SyncMapItemInstance.php:33
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Version' not found in wp-content/plugins/order-message-notification/includes/twilio-php-master/src/Twilio/Rest/Voice/V1.php:21
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/order-message-notification/includes/twilio-php-master/src/Twilio/Rest/IpMessaging/V2/Service/Channel/InviteOptions.php:33
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/order-message-notification/includes/twilio-php-master/src/Twilio/Rest/Video/V1/CompositionHookOptions.php:85
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/order-message-notification/includes/twilio-php-master/src/Twilio/Rest/Preview/Understand/Assistant/Task/FieldPage.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/order-message-notification/includes/twilio-php-master/src/Twilio/Rest/Chat/V2/Service/ChannelList.php:20
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/order-message-notification/includes/twilio-php-master/src/Twilio/Rest/Studio/V2/Flow/Execution/ExecutionStep/ExecutionStepContextPage.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/order-message-notification/includes/twilio-php-master/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueue/TaskQueueStatisticsList.php:15
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/order-message-notification/includes/twilio-php-master/src/Twilio/Rest/Api/V2010/Account/AddressOptions.php:59
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/order-message-notification/includes/twilio-php-master/src/Twilio/Rest/Serverless/V1/Service/TwilioFunction/FunctionVersionContext.php:25
- > 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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Requires php: Invalid version format
order-message-notification/order-message-notification.php 92% from 13 tests
The primary PHP file in "Order Message Notification" version 1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 237 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected82,977 lines of code in 1,756 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,748 | 24,211 | 99,304 | 82,824 |
Markdown | 2 | 25 | 0 | 79 |
JSON | 1 | 0 | 0 | 35 |
XML | 1 | 0 | 0 | 11 |
CSS | 2 | 1 | 2 | 10 |
JavaScript | 1 | 0 | 0 | 10 |
Dockerfile | 1 | 3 | 0 | 8 |
PHP code Passed 2 tests
An overview 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.11 |
Average class complexity | 2.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 1.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 184 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 2,194 | |
▷ Abstract classes | 254 | 11.58% |
▷ Concrete classes | 1,940 | 88.42% |
▷ Final classes | 2 | 0.10% |
Methods | 11,831 | |
▷ Static methods | 479 | 4.05% |
▷ Public methods | 10,644 | 89.97% |
▷ Protected methods | 1,179 | 9.97% |
▷ Private methods | 8 | 0.07% |
Functions | 104 | |
▷ Named functions | 10 | 9.62% |
▷ Anonymous functions | 94 | 90.38% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 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
There are no PNG files in this plugin