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.01MB] [CPU: ▼1.22ms] Passed 4 tests
Analyzing server-side resources used by Woocommerce-simple-order-notification
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.73 ▼3.05 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.85 ▼2.78 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.41 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.81 ▲1.75 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.01 ▲6.94 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 122 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Woocommerce-simple-order-notification
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.69 ▼0.98 | 1.62 ▼0.81 | 39.67 ▼3.03 |
Dashboard /wp-admin | 2,225 ▲40 | 4.85 ▼1.04 | 111.84 ▲8.88 | 40.46 ▼3.27 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.01 ▼0.01 | 41.45 ▲1.08 | 36.29 ▲1.17 |
Add New Post /wp-admin/post-new.php | 1,546 ▲3 | 23.05 ▲4.89 | 645.58 ▲31.89 | 53.90 ▲1.87 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.18 ▼0.07 | 95.35 ▼4.58 | 43.32 ▲0.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
The following issues need your attention
- 102× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_SIPListResource' not found in wp-content/plugins/woo-sms-simple-order-notification/twilio-php-master/Services/Twilio/Rest/CredentialListMappings.php:3
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_InstanceResource' not found in wp-content/plugins/woo-sms-simple-order-notification/twilio-php-master/Services/Twilio/Rest/Sip.php:7
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_InstanceResource' not found in wp-content/plugins/woo-sms-simple-order-notification/twilio-php-master/Services/Twilio/Rest/Domain.php:63
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_InstanceResource' not found in wp-content/plugins/woo-sms-simple-order-notification/twilio-php-master/Services/Twilio/Rest/FeedbackSummary.php:3
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_ListResource' not found in wp-content/plugins/woo-sms-simple-order-notification/twilio-php-master/Services/Twilio/Rest/SmsMessages.php:3
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_InstanceResource' not found in wp-content/plugins/woo-sms-simple-order-notification/twilio-php-master/Services/Twilio/Rest/Feedback.php:3
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_ListResource' not found in wp-content/plugins/woo-sms-simple-order-notification/twilio-php-master/Services/Twilio/Rest/Tokens.php:3
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_InstanceResource' not found in wp-content/plugins/woo-sms-simple-order-notification/twilio-php-master/Services/Twilio/Rest/CredentialListMapping.php:31
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_TaskRouterInstanceResource' not found in wp-content/plugins/woo-sms-simple-order-notification/twilio-php-master/Services/Twilio/Rest/TaskRouter/Task.php:3
- > PHP Fatal error
Uncaught Error: Class 'Services_Twilio_TaskRouterInstanceResource' not found in wp-content/plugins/woo-sms-simple-order-notification/twilio-php-master/Services/Twilio/Rest/TaskRouter/Worker.php:3
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Donate link: Please fix this invalid url: ""
- Screenshots: Screenshot #1 (This screenshot shows the admin options as described in the description. ’assets/AdminOptions.png’) image not found
woo-sms-simple-order-notification/ltl-simple-order-notification.php 92% from 13 tests
This is the main PHP file of "Woocommerce-simple-order-notification" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-sms-simple-order-notification.php" instead of "ltl-simple-order-notification.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected2,372 lines of code in 119 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 119 | 549 | 1,707 | 2,372 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 2.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 1.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 136 | |
▷ Abstract classes | 10 | 7.35% |
▷ Concrete classes | 126 | 92.65% |
▷ Final classes | 0 | 0.00% |
Methods | 207 | |
▷ Static methods | 18 | 8.70% |
▷ Public methods | 177 | 85.51% |
▷ Protected methods | 27 | 13.04% |
▷ Private methods | 3 | 1.45% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/AdminOptions.png | 53.75KB | 14.92KB | ▼ 72.23% |