Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.61ms] Passed 4 tests
A check of server-side resources used by Order Delivery Date And Time
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.31 ▼0.76 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.19 ▼3.26 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.71 ▼1.52 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.68 ▼4.89 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.44 ▲1.64 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Order Delivery Date And Time
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 14.79 ▲0.14 | 1.79 ▼0.08 | 43.52 ▼0.34 |
Dashboard /wp-admin | 2,203 ▲12 | 5.79 ▲0.95 | 95.15 ▼11.48 | 41.38 ▼4.90 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▲0.01 | 40.13 ▲0.21 | 34.52 ▲0.57 |
Add New Post /wp-admin/post-new.php | 1,543 ▲1 | 18.68 ▲0.35 | 634.84 ▲33.57 | 53.35 ▲2.64 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.14 ▼0.11 | 93.42 ▼9.85 | 41.54 ▼3.03 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: woocommerce delivery slots, order delivery date, woocommerce pickup date and time, order delivery time, woocommerce delivery pickup and date
order-delivery-date-and-time/order-delivery-date-and-time.php 92% from 13 tests
The principal PHP file in "Order Delivery Date And Time" v. 1.0.5 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.3" instead of "5.0.0")
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
Everything looks great! No dangerous files found in this plugin2,121 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 628 | 399 | 2,113 |
CSS | 3 | 0 | 10 | 5 |
JavaScript | 3 | 0 | 1 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 36.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 143.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 1 | 9.09% |
▷ Concrete classes | 10 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 110 | |
▷ Static methods | 12 | 10.91% |
▷ Public methods | 89 | 80.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 21 | 19.09% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 11 | |
▷ Global constants | 9 | 81.82% |
▷ Class constants | 2 | 18.18% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/css/edit.png | 0.30KB | 0.45KB | 0.00% |
admin/assets/css/delete.png | 0.48KB | 0.51KB | 0.00% |
admin/assets/css/help.png | 0.30KB | 0.32KB | 0.00% |