Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.61ms] Passed 4 tests
This is a short check of server-side resources used by Delivery Harmony - low flat delivery
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.04 ▲2.24 |
Dashboard /wp-admin | 3.25 ▼0.09 | 34.93 ▼23.60 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 44.73 ▼2.50 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 90.98 ▲0.88 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.14 ▼1.21 |
Delivery Harmony /wp-admin/admin.php?page=say2eat-delivery-harmony | 3.25 | 31.27 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
recovery_mode_email_last_sent |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Delivery Harmony - low flat delivery
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,563 ▼1,183 | 10.40 ▼4.18 | 5.42 ▲3.87 | 36.89 ▼4.36 |
Dashboard /wp-admin | 850 ▼1,338 | 1.47 ▼3.45 | 18.62 ▼85.48 | 21.16 ▼21.72 |
Posts /wp-admin/edit.php | 2,099 ▲13 | 2.03 ▲0.03 | 47.65 ▲7.30 | 43.06 ▲8.27 |
Add New Post /wp-admin/post-new.php | 6,288 ▲4,755 | 25.04 ▲1.63 | 914.35 ▲208.28 | 37.77 ▼18.36 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.28 ▲0.06 | 100.71 ▲2.44 | 40.47 ▼0.10 |
Delivery Harmony /wp-admin/admin.php?page=say2eat-delivery-harmony | 747 | 2.08 | 29.35 | 20.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Almost there! Just fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/delivery-harmony/includes/controller.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/delivery-harmony/includes/admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/delivery-harmony/includes/checkout.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/delivery-harmony/s2e_delivery_harmony.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please a description for screenshot #1 in delivery-harmony/assets to your readme.txt
delivery-harmony/s2e_delivery_harmony.php 85% from 13 tests
The primary PHP file in "Delivery Harmony - low flat delivery" version 1.4.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("delivery-harmony.php" instead of "s2e_delivery_harmony.php")
- Description: The description should be 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
Good job! No executable or dangerous file extensions detected752 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 66 | 10 | 357 |
JavaScript | 5 | 54 | 4 | 326 |
CSS | 3 | 5 | 10 | 68 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin