Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.42ms] Passed 4 tests
An overview of server-side resources used by Order SMS Notification
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.83 ▼2.72 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.18 ▼22.18 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.01 ▼5.55 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 98.55 ▼3.24 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.13 ▲3.11 |
Order SMS Notification /wp-admin/admin.php?page=dewp-sms-admin-settings | 3.18 | 32.94 |
Sobre Daniel Esparza /wp-admin/admin.php?page=desparza-menu | 3.20 | 33.65 |
Server storage [IO: ▲7.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 1,758 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Order SMS Notification
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.34 ▼0.01 | 1.92 ▲0.07 | 42.46 ▼1.38 |
Dashboard /wp-admin | 2,223 ▲49 | 5.58 ▲0.04 | 92.40 ▼6.09 | 47.58 ▲7.24 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.02 ▼0.01 | 39.57 ▲0.84 | 38.89 ▲4.17 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 22.99 ▲0.07 | 669.46 ▲26.11 | 62.31 ▼1.18 |
Media Library /wp-admin/upload.php | 1,425 ▲28 | 4.21 ▲0.04 | 101.12 ▼5.15 | 45.94 ▲0.68 |
Order SMS Notification /wp-admin/admin.php?page=dewp-sms-admin-settings | 938 | 2.12 | 22.77 | 30.41 |
Sobre Daniel Esparza /wp-admin/admin.php?page=desparza-menu | 817 | 2.00 | 25.47 | 29.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting 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-sms-admin-settings
- > Notice in wp-content/plugins/order-sms-notification/includes/order-sms-notification-admin.php+128
Trying to access array offset on value of type bool
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/order-sms-notification/order-sms-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-sms-notification/includes/twilio-php-master/src/Twilio/Rest/Api/V2010/Account/SipInstance.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/order-sms-notification/includes/twilio-php-master/src/Twilio/Rest/Notify/V1/Service/NotificationPage.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/order-sms-notification/includes/twilio-php-master/src/Twilio/Rest/Video/V1/CompositionHookList.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/order-sms-notification/includes/twilio-php-master/src/Twilio/Rest/IpMessaging/V1/Service/User/UserChannelList.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/order-sms-notification/includes/twilio-php-master/src/Twilio/Rest/Pricing/V1/PhoneNumber/CountryList.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/order-sms-notification/includes/twilio-php-master/src/Twilio/Rest/Taskrouter/V1/Workspace/Workflow/WorkflowCumulativeStatisticsContext.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Version' not found in wp-content/plugins/order-sms-notification/includes/twilio-php-master/src/Twilio/Rest/Serverless/V1.php:22
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/order-sms-notification/includes/twilio-php-master/src/Twilio/Rest/Taskrouter/V1/Workspace/Worker/WorkersRealTimeStatisticsOptions.php:26
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/order-sms-notification/includes/twilio-php-master/src/Twilio/Rest/IpMessaging/V1/CredentialContext.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/order-sms-notification/includes/twilio-php-master/src/Twilio/Rest/Notify/V1/CredentialContext.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Requires php: Invalid version format
order-sms-notification/order-sms-notification.php 92% from 13 tests
The primary PHP file in "Order SMS Notification" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 223 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin83,003 lines of code in 1,756 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,748 | 24,217 | 99,326 | 82,850 |
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
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 2.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.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,834 | |
▷ Static methods | 478 | 4.04% |
▷ Public methods | 10,648 | 89.98% |
▷ Protected methods | 1,179 | 9.96% |
▷ Private methods | 7 | 0.06% |
Functions | 105 | |
▷ Named functions | 11 | 10.48% |
▷ Anonymous functions | 94 | 89.52% |
Constants | 12 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12 | 100.00% |
▷ Public constants | 12 | 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
There are no PNG files in this plugin