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.01MB] [CPU: ▼0.93ms] Passed 4 tests
Analyzing server-side resources used by Coupon Manager & Reporting Lite for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.63 ▼0.33 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.41 ▲1.52 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.24 ▲0.74 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 89.17 ▼5.64 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 45.49 ▲11.93 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Coupon Manager & Reporting Lite for WooCommerce: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.29 ▼0.42 | 1.81 ▼0.01 | 36.00 ▼7.54 |
Dashboard /wp-admin | 2,195 ▲17 | 5.62 ▼0.07 | 91.62 ▼25.59 | 40.25 ▼4.96 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.04 | 40.87 ▲5.28 | 36.50 ▲3.26 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.26 ▲0.26 | 595.18 ▼44.62 | 70.12 ▲15.65 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.19 ▲0.02 | 94.88 ▼3.01 | 41.29 ▲0.16 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
9 plugin tags: woocommerce coupon generator, order coupon, woocommerce order coupon, apply coupon on order, coupon...
wc-apply-coupon-on-post-order/wc-apply-coupon-on-post-order.php Passed 13 tests
The primary PHP file in "Coupon Manager & Reporting Lite for WooCommerce" version 1.0.0 is used by WordPress to initiate all plugin functionality
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
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
Everything looks great! No dangerous files found in this plugin843 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 233 | 899 | 728 |
JavaScript | 2 | 10 | 54 | 58 |
PO File | 1 | 19 | 19 | 57 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 4.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 45 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 18.18% |
Functions | 4 | |
▷ Named functions | 4 | 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
There were not PNG files found in your plugin