Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.35ms] Passed 4 tests
This is a short check of server-side resources used by Sugester for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.65 ▼0.64 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.29 ▼1.01 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.18 ▲0.73 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.14 ▼8.75 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.51 ▼2.98 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sugester for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 14.54 ▲0.27 | 1.77 ▲0.04 | 40.21 ▼2.02 |
Dashboard /wp-admin | 2,192 ▲18 | 5.56 ▼0.07 | 88.42 ▼3.78 | 41.39 ▲1.21 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.03 ▲0.08 | 35.05 ▼5.67 | 34.17 ▼2.48 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.97 ▼0.16 | 669.41 ▲16.16 | 60.65 ▲8.28 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.20 ▼0.01 | 100.98 ▼2.71 | 44.67 ▼1.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/sugester-for-woocommerce/includes/hooks/class-wc-sugester-hook-display-user.php on line 69
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
sugester-for-woocommerce/sugester-for-woocommerce.php Passed 13 tests
The primary PHP file in "Sugester for WooCommerce" version 1.0.9 is used by WordPress to initiate all plugin functionality
36 characters long description:
Integrates Sugester with WooCommerce
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,145 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 530 | 1,485 | 1,786 |
PO File | 1 | 62 | 70 | 206 |
JavaScript | 4 | 26 | 53 | 152 |
CSS | 1 | 0 | 0 | 1 |
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.31 |
Average class complexity | 11.56 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 129 | |
▷ Static methods | 17 | 13.18% |
▷ Public methods | 106 | 82.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 23 | 17.83% |
Functions | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected