Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.42ms] Passed 4 tests
An overview of server-side resources used by WooCommerce Bulk Receipt
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 52.42 ▲8.55 |
Dashboard /wp-admin | 3.31 ▲0.00 | 52.23 ▼2.71 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.00 ▼7.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.00 ▼8.36 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 41.36 ▲4.51 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
WooCommerce Bulk Receipt: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 13.63 ▼1.13 | 1.99 ▲0.32 | 51.02 ▲4.19 |
Dashboard /wp-admin | 2,224 ▲21 | 5.90 ▲0.88 | 102.33 ▼10.11 | 37.51 ▼7.91 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▼0.03 | 35.49 ▼5.12 | 37.06 ▲0.94 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.19 ▲0.03 | 622.89 ▼58.42 | 58.51 ▼5.89 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.19 ▼0.05 | 113.08 ▲15.44 | 48.56 ▲1.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
woo-bulk-email/woo-bulk-email.php Passed 13 tests
The main PHP file in "WooCommerce Bulk Receipt" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
96 characters long description:
WooCommerce Bulk Email plugin allowed an admin to send bulk confirmation email to the customers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected176 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 76 | 239 | 176 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 16 | |
▷ Static methods | 2 | 12.50% |
▷ Public methods | 12 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 25.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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