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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.74ms] Passed 4 tests
An overview of server-side resources used by SendLime
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 42.53 ▲2.03 |
Dashboard /wp-admin | 3.44 ▲0.14 | 52.41 ▲0.76 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 50.61 ▲0.04 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 85.61 ▼16.58 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.11 ▲0.81 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
sendlime_installed |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
sendlime_version |
db_upgraded |
sendlime_wc_order_notification_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SendLime
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.35 ▼0.20 | 1.70 ▼0.37 | 43.83 ▼0.29 |
Dashboard /wp-admin | 2,189 ▲9 | 5.54 ▼0.11 | 87.30 ▼3.12 | 39.74 ▼6.26 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.02 | 34.69 ▼2.74 | 35.97 ▲1.55 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 17.98 ▼5.18 | 618.17 ▼51.50 | 71.50 ▲5.92 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.25 ▲0.07 | 98.58 ▼0.90 | 43.02 ▼3.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 9 options in the database
- can_compress_scripts
- db_upgraded
- sendlime_wc_order_notification_settings
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- sendlime_version
- sendlime_installed
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'SendLime\\SendLime\\Admin\\WCOrderNotification' not found in wp-content/plugins/sendlime/includes/Admin/views/wc-order-notification.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: woocommerce, sms, order notify, update
sendlime/sendlime.php Passed 13 tests
Analyzing the main PHP file in "SendLime" version 1.1.2
86 characters long description:
SendLime lets you notify your customers about their WooCommerce order updates via SMS.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,127 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 256 | 492 | 1,095 |
JSON | 2 | 0 | 0 | 27 |
Markdown | 1 | 4 | 0 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 59 | |
▷ Static methods | 19 | 32.20% |
▷ Public methods | 56 | 94.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.08% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 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