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
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼1.71ms] Passed 4 tests
An overview of server-side resources used by WooCustomers
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.72 ▼1.72 |
Dashboard /wp-admin | 3.40 ▲0.10 | 49.24 ▲3.41 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 52.10 ▼5.85 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 96.33 ▲0.75 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 37.22 ▼0.03 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 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
An overview of browser requirements for WooCustomers
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.34 | 1.76 ▲0.17 | 45.11 ▲0.83 |
Dashboard /wp-admin | 2,198 ▲18 | 5.63 ▼0.01 | 82.86 ▼3.65 | 38.48 ▼2.73 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.07 | 39.74 ▲1.00 | 34.66 ▼0.45 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 18.39 ▼4.53 | 592.61 ▼144.25 | 65.57 ▲5.16 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.21 ▼0.02 | 95.21 ▼7.53 | 41.54 ▼3.74 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Plugin Name: Please specify the plugin name on the first line (
=== woocustomers ===
)
woocustomers/woocustomers.php 92% from 13 tests
"WooCustomers" version 1.0-beta...'s main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "1.0-beta...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,346 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 118 | 50 | 707 |
CSS | 2 | 98 | 0 | 608 |
JavaScript | 1 | 12 | 10 | 31 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 59.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 5.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.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 | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
PNG images were not found in this plugin