Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.33MB] [CPU: ▲1.00ms] Passed 4 tests
This is a short check of server-side resources used by Combo Offers WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 42.66 ▲6.63 |
Dashboard /wp-admin | 3.64 ▲0.33 | 56.21 ▲2.62 |
Posts /wp-admin/edit.php | 3.75 ▲0.40 | 55.23 ▲10.30 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 104.75 ▼10.49 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 43.67 ▲5.25 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Combo Offers WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.17 ▼1.22 | 1.58 ▼0.69 | 46.45 ▲4.48 |
Dashboard /wp-admin | 2,214 ▲26 | 5.86 ▼0.04 | 125.01 ▲20.19 | 49.08 ▲0.13 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.00 ▼0.00 | 43.16 ▲3.05 | 42.59 ▲6.76 |
Add New Post /wp-admin/post-new.php | 1,541 ▲22 | 21.27 ▲0.31 | 882.64 ▲150.74 | 61.35 ▲8.15 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.20 ▲0.05 | 114.89 ▼28.47 | 57.51 ▼11.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: bundles, woocommerce, combo offer, product bundle, product...
woo-combo-offers/woo-combo-offers.php 92% from 13 tests
The primary PHP file in "Combo Offers WooCommerce" version 3.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected3,717 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 243 | 68 | 1,745 |
CSS | 4 | 236 | 142 | 916 |
JavaScript | 4 | 185 | 231 | 887 |
PO File | 2 | 49 | 16 | 169 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
Average class complexity | 215.00 |
▷ Minimum class complexity | 81.00 |
▷ Maximum class complexity | 349.00 |
Average method complexity | 6.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 82 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
PNG images were not found in this plugin