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
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.66ms] Passed 4 tests
This is a short check of server-side resources used by Delloop for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.99 ▼3.29 |
Dashboard /wp-admin | 3.37 ▲0.02 | 50.75 ▼12.11 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 50.13 ▲2.04 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 82.68 ▼5.23 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.30 ▼1.99 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Delloop for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲19 | 14.35 ▼0.37 | 2.23 ▲0.05 | 46.42 ▼1.91 |
Dashboard /wp-admin | 2,211 ▲31 | 5.56 ▼0.05 | 98.60 ▲11.52 | 42.69 ▼1.39 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.01 ▲0.02 | 38.23 ▼0.01 | 34.15 ▼3.17 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.61 ▲0.54 | 673.47 ▼12.11 | 51.36 ▼6.80 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.23 ▲0.03 | 94.82 ▼12.62 | 43.05 ▼1.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
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
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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/delloop4woo/admin-screen.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
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Donate link: Invalid url: "htttp://www.Delloop.com"
delloop4woo/delloop-for-woocommerce.php 92% from 13 tests
Analyzing the main PHP file in "Delloop for WooCommerce" version 1.1.0
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("delloop4woo.php" instead of "delloop-for-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected339 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 70 | 24 | 339 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 55.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 45.00% |
Functions | 8 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 8 | 100.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 3.46KB | 2.16KB | ▼ 37.69% |